aliyun-log-python-sdk 0.9.45__tar.gz → 0.9.46__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- aliyun_log_python_sdk-0.9.46/MANIFEST.in +2 -0
- {aliyun_log_python_sdk-0.9.45/aliyun_log_python_sdk.egg-info → aliyun_log_python_sdk-0.9.46}/PKG-INFO +1 -1
- aliyun_log_python_sdk-0.9.45/aliyun/log/ext/__init__.py → aliyun_log_python_sdk-0.9.46/aliyun/__init__.pyi +0 -0
- aliyun_log_python_sdk-0.9.46/aliyun/log/__init__.pyi +56 -0
- aliyun_log_python_sdk-0.9.46/aliyun/log/consumer/__init__.pyi +3 -0
- aliyun_log_python_sdk-0.9.46/aliyun/log/consumer/config.pyi +40 -0
- aliyun_log_python_sdk-0.9.46/aliyun/log/consumer/py.typed +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun/log/consumer/tasks.py +1 -2
- aliyun_log_python_sdk-0.9.46/aliyun/log/consumer/tasks.pyi +23 -0
- aliyun_log_python_sdk-0.9.46/aliyun/log/consumer/worker.pyi +28 -0
- aliyun_log_python_sdk-0.9.46/aliyun/log/credentials.pyi +18 -0
- aliyun_log_python_sdk-0.9.46/aliyun/log/cursor_response.pyi +9 -0
- aliyun_log_python_sdk-0.9.46/aliyun/log/cursor_time_response.pyi +9 -0
- aliyun_log_python_sdk-0.9.46/aliyun/log/ext/__init__.py +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun/log/external_store_config.py +1 -1
- aliyun_log_python_sdk-0.9.46/aliyun/log/gethistogramsrequest.pyi +26 -0
- aliyun_log_python_sdk-0.9.46/aliyun/log/gethistogramsresponse.pyi +13 -0
- aliyun_log_python_sdk-0.9.46/aliyun/log/getlogsrequest.pyi +42 -0
- aliyun_log_python_sdk-0.9.46/aliyun/log/getlogsresponse.pyi +72 -0
- aliyun_log_python_sdk-0.9.46/aliyun/log/index_config.pyi +31 -0
- aliyun_log_python_sdk-0.9.46/aliyun/log/listlogstoresrequest.pyi +7 -0
- aliyun_log_python_sdk-0.9.46/aliyun/log/listlogstoresresponse.pyi +12 -0
- aliyun_log_python_sdk-0.9.46/aliyun/log/listtopicsrequest.pyi +13 -0
- aliyun_log_python_sdk-0.9.46/aliyun/log/listtopicsresponse.pyi +12 -0
- aliyun_log_python_sdk-0.9.46/aliyun/log/logclient.pyi +283 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun/log/logclient_operator.py +1 -2
- aliyun_log_python_sdk-0.9.46/aliyun/log/logexception.pyi +13 -0
- aliyun_log_python_sdk-0.9.46/aliyun/log/logitem.pyi +16 -0
- aliyun_log_python_sdk-0.9.46/aliyun/log/logresponse.pyi +12 -0
- aliyun_log_python_sdk-0.9.46/aliyun/log/machine_group_detail.pyi +14 -0
- aliyun_log_python_sdk-0.9.46/aliyun/log/metering_mode_response.pyi +23 -0
- aliyun_log_python_sdk-0.9.46/aliyun/log/multimodal_config_response.pyi +15 -0
- aliyun_log_python_sdk-0.9.46/aliyun/log/object_response.pyi +19 -0
- aliyun_log_python_sdk-0.9.46/aliyun/log/pulllog_response.pyi +34 -0
- aliyun_log_python_sdk-0.9.46/aliyun/log/putlogsrequest.pyi +25 -0
- aliyun_log_python_sdk-0.9.46/aliyun/log/putlogsresponse.pyi +8 -0
- aliyun_log_python_sdk-0.9.46/aliyun/log/queriedlog.pyi +12 -0
- aliyun_log_python_sdk-0.9.46/aliyun/log/shipper_config.pyi +15 -0
- aliyun_log_python_sdk-0.9.46/aliyun/log/store_view.pyi +39 -0
- aliyun_log_python_sdk-0.9.46/aliyun/log/store_view_response.pyi +30 -0
- aliyun_log_python_sdk-0.9.46/aliyun/log/submit_async_sql_request.pyi +22 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun/log/version.py +1 -1
- aliyun_log_python_sdk-0.9.46/aliyun/py.typed +1 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46/aliyun_log_python_sdk.egg-info}/PKG-INFO +1 -1
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun_log_python_sdk.egg-info/SOURCES.txt +38 -0
- aliyun_log_python_sdk-0.9.46/aliyun_log_python_sdk.egg-info/dependency_links.txt +1 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/setup.py +7 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/LICENSE +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/README.md +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun/__init__.py +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun/log/__init__.py +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun/log/_proto_py2/__init__.py +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun/log/_proto_py2/log_logs_pb2.py +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun/log/_proto_py2/log_logs_raw_pb2.py +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun/log/acl_config.py +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun/log/acl_response.py +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun/log/async_sql_pb2.py +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun/log/async_sql_response.py +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun/log/auth.py +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun/log/common_response.py +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun/log/compress.py +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun/log/consumer/__init__.py +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun/log/consumer/checkpoint_tracker.py +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun/log/consumer/config.py +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun/log/consumer/consumer_client.py +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun/log/consumer/exceptions.py +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun/log/consumer/fetched_log_group.py +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun/log/consumer/heart_beat.py +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun/log/consumer/preprocessor.py +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun/log/consumer/shard_worker.py +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun/log/consumer/worker.py +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun/log/consumer_group_request.py +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun/log/consumer_group_response.py +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun/log/credentials.py +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun/log/cursor_response.py +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun/log/cursor_time_response.py +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun/log/delete_async_sql_request.py +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun/log/deletelogsrequest.py +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun/log/deletelogssresponse.py +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun/log/es_migration/__init__.py +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun/log/es_migration/doc_logitem_converter.py +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun/log/es_migration/index_logstore_mappings.py +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun/log/es_migration/mapping_index_converter.py +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun/log/es_migration/migration_log.py +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun/log/es_migration/migration_manager.py +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun/log/es_migration/migration_response.py +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun/log/es_migration/migration_task.py +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun/log/es_migration/util.py +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun/log/etl_config_response.py +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun/log/etl_core/__init__.py +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun/log/etl_core/config_parser.py +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun/log/etl_core/etl_util.py +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun/log/etl_core/exceptions.py +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun/log/etl_core/restrict_config_parser.py +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun/log/etl_core/runner.py +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun/log/etl_core/settings.py +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun/log/etl_core/trans_comp/__init__.py +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun/log/etl_core/trans_comp/trans_base.py +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun/log/etl_core/trans_comp/trans_csv.py +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun/log/etl_core/trans_comp/trans_json.py +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun/log/etl_core/trans_comp/trans_kv.py +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun/log/etl_core/trans_comp/trans_lookup.py +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun/log/etl_core/trans_comp/trans_mv.py +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun/log/etl_core/trans_comp/trans_regex.py +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun/log/etl_core/trans_comp/trans_set_field.py +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun/log/etl_core/transform/__init__.py +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun/log/etl_core/transform/condition_list.py +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun/log/etl_core/transform/condition_transform.py +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun/log/etl_core/transform/condition_util.py +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun/log/etl_core/transform/transform_base.py +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun/log/etl_core/transform/transform_list.py +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun/log/etl_core/transform/transform_meta.py +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun/log/export_response.py +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun/log/ext/jupyter_magic.py +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun/log/ext/syslogclient.py +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun/log/external_store_config_response.py +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun/log/get_async_sql_request.py +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun/log/getcontextlogsresponse.py +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun/log/getdeletelogsstatusrequest.py +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun/log/getdeletelogsstatusresponse.py +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun/log/gethistogramsrequest.py +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun/log/gethistogramsresponse.py +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun/log/getlogsrequest.py +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun/log/getlogsresponse.py +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun/log/histogram.py +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun/log/index_config.py +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun/log/index_config_response.py +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun/log/ingestion_response.py +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun/log/job.py +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun/log/listdeletelogsstasksrequest.py +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun/log/listdeletelogsstasksresponse.py +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun/log/listlogstoresrequest.py +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun/log/listlogstoresresponse.py +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun/log/listtopicsrequest.py +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun/log/listtopicsresponse.py +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun/log/log_logs_pb2.py +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun/log/log_logs_raw_pb2.py +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun/log/logclient.py +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun/log/logclient_core.py +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun/log/logexception.py +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun/log/logger_hanlder.py +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun/log/logitem.py +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun/log/logrequest.py +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun/log/logresponse.py +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun/log/logstore_config_response.py +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun/log/logtail_config_detail.py +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun/log/logtail_config_response.py +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun/log/logtail_pipeline_config_detail.py +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun/log/logtail_pipeline_config_response.py +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun/log/machine_group_detail.py +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun/log/machinegroup_response.py +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun/log/metering_mode_response.py +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun/log/multimodal_config_response.py +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun/log/object_response.py +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun/log/odps_sink.py +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun/log/oss_sink.py +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun/log/pluralize.py +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun/log/project_response.py +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun/log/proto.py +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun/log/pulllog_response.py +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun/log/putlogsrequest.py +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun/log/putlogsresponse.py +0 -0
- /aliyun_log_python_sdk-0.9.45/aliyun_log_python_sdk.egg-info/dependency_links.txt → /aliyun_log_python_sdk-0.9.46/aliyun/log/py.typed +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun/log/queriedlog.py +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun/log/rebuild_index_response.py +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun/log/resource_params.py +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun/log/resource_response.py +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun/log/scheduled_sql.py +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun/log/scheduled_sql_response.py +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun/log/shard_response.py +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun/log/shipper_config.py +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun/log/shipper_response.py +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun/log/sink.py +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun/log/sql_instance_response.py +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun/log/store_view.py +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun/log/store_view_response.py +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun/log/submit_async_sql_request.py +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun/log/substore_config_response.py +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun/log/tag_response.py +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun/log/topostore_params.py +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun/log/topostore_response.py +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun/log/util.py +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun_log_python_sdk.egg-info/requires.txt +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun_log_python_sdk.egg-info/top_level.txt +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/setup.cfg +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/tests/test_alert.py +0 -0
- {aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/tests/test_util.py +0 -0
|
File without changes
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
from .logclient import LogClient as LogClient
|
|
2
|
+
from .logexception import LogException as LogException
|
|
3
|
+
from .gethistogramsrequest import GetHistogramsRequest as GetHistogramsRequest
|
|
4
|
+
from .getlogsrequest import GetLogsRequest as GetLogsRequest, GetProjectLogsRequest as GetProjectLogsRequest
|
|
5
|
+
from .index_config import IndexConfig as IndexConfig, IndexKeyConfig as IndexKeyConfig, IndexLineConfig as IndexLineConfig
|
|
6
|
+
from .listtopicsrequest import ListTopicsRequest as ListTopicsRequest
|
|
7
|
+
from .listlogstoresrequest import ListLogstoresRequest as ListLogstoresRequest
|
|
8
|
+
from .logtail_config_detail import PluginConfigDetail as PluginConfigDetail, SeperatorFileConfigDetail as SeperatorFileConfigDetail, SimpleFileConfigDetail as SimpleFileConfigDetail, FullRegFileConfigDetail as FullRegFileConfigDetail, JsonFileConfigDetail as JsonFileConfigDetail, ApsaraFileConfigDetail as ApsaraFileConfigDetail, SyslogConfigDetail as SyslogConfigDetail, LogtailConfigGenerator as LogtailConfigGenerator, CommonRegLogConfigDetail as CommonRegLogConfigDetail
|
|
9
|
+
from .logtail_pipeline_config_detail import LogtailPipelineConfigDetail as LogtailPipelineConfigDetail
|
|
10
|
+
from .logtail_pipeline_config_response import CreateLogtailPipelineConfigResponse as CreateLogtailPipelineConfigResponse, DeleteLogtailPipelineConfigResponse as DeleteLogtailPipelineConfigResponse, GetLogtailPipelineConfigResponse as GetLogtailPipelineConfigResponse, UpdateLogtailPipelineConfigResponse as UpdateLogtailPipelineConfigResponse, ListLogtailPipelineConfigResponse as ListLogtailPipelineConfigResponse
|
|
11
|
+
from .machine_group_detail import MachineGroupDetail as MachineGroupDetail
|
|
12
|
+
from .putlogsrequest import PutLogsRequest as PutLogsRequest
|
|
13
|
+
from .shipper_config import ShipperTask as ShipperTask, OssShipperConfig as OssShipperConfig, OdpsShipperConfig as OdpsShipperConfig
|
|
14
|
+
from .version import __version__ as __version__
|
|
15
|
+
from .logitem import LogItem as LogItem
|
|
16
|
+
from .consumer_group_request import CreateConsumerGroupRequest as CreateConsumerGroupRequest, ConsumerGroupGetCheckPointRequest as ConsumerGroupGetCheckPointRequest, ConsumerGroupHeartBeatRequest as ConsumerGroupHeartBeatRequest, ConsumerGroupUpdateCheckPointRequest as ConsumerGroupUpdateCheckPointRequest
|
|
17
|
+
from .external_store_config import ExternalStoreConfig as ExternalStoreConfig, ExternalStoreConfigBase as ExternalStoreConfigBase, ExternalStoreCsvConfig as ExternalStoreCsvConfig, ExternalStoreOssConfig as ExternalStoreOssConfig
|
|
18
|
+
|
|
19
|
+
from .consumer_group_response import ConsumerGroupEntity as ConsumerGroupEntity, ConsumerGroupCheckPointResponse as ConsumerGroupCheckPointResponse, ConsumerGroupHeartBeatResponse as ConsumerGroupHeartBeatResponse, ConsumerGroupUpdateCheckPointResponse as ConsumerGroupUpdateCheckPointResponse, CreateConsumerGroupResponse as CreateConsumerGroupResponse, DeleteConsumerGroupResponse as DeleteConsumerGroupResponse, ListConsumerGroupResponse as ListConsumerGroupResponse, UpdateConsumerGroupResponse as UpdateConsumerGroupResponse
|
|
20
|
+
from .cursor_response import GetCursorResponse as GetCursorResponse
|
|
21
|
+
from .cursor_time_response import GetCursorTimeResponse as GetCursorTimeResponse
|
|
22
|
+
from .gethistogramsresponse import GetHistogramsResponse as GetHistogramsResponse
|
|
23
|
+
from .getlogsresponse import GetLogsResponse as GetLogsResponse
|
|
24
|
+
from .histogram import Histogram as Histogram
|
|
25
|
+
from .queriedlog import QueriedLog as QueriedLog
|
|
26
|
+
from .index_config_response import CreateIndexResponse as CreateIndexResponse, UpdateIndexResponse as UpdateIndexResponse, DeleteIndexResponse as DeleteIndexResponse, GetIndexResponse as GetIndexResponse
|
|
27
|
+
from .listlogstoresresponse import ListLogstoresResponse as ListLogstoresResponse
|
|
28
|
+
from .listtopicsresponse import ListTopicsResponse as ListTopicsResponse
|
|
29
|
+
from .logresponse import LogResponse as LogResponse
|
|
30
|
+
from .logtail_config_response import CreateLogtailConfigResponse as CreateLogtailConfigResponse, DeleteLogtailConfigResponse as DeleteLogtailConfigResponse, GetLogtailConfigResponse as GetLogtailConfigResponse, UpdateLogtailConfigResponse as UpdateLogtailConfigResponse, ListLogtailConfigResponse as ListLogtailConfigResponse
|
|
31
|
+
from .machinegroup_response import CreateMachineGroupResponse as CreateMachineGroupResponse, DeleteMachineGroupResponse as DeleteMachineGroupResponse, GetMachineGroupResponse as GetMachineGroupResponse, UpdateMachineGroupResponse as UpdateMachineGroupResponse, ListMachineGroupResponse as ListMachineGroupResponse, ListMachinesResponse as ListMachinesResponse, ApplyConfigToMachineGroupResponse as ApplyConfigToMachineGroupResponse, RemoveConfigToMachineGroupResponse as RemoveConfigToMachineGroupResponse, GetMachineGroupAppliedConfigResponse as GetMachineGroupAppliedConfigResponse, GetConfigAppliedMachineGroupsResponse as GetConfigAppliedMachineGroupsResponse
|
|
32
|
+
from .project_response import CreateProjectResponse as CreateProjectResponse, UpdateProjectResponse as UpdateProjectResponse, DeleteProjectResponse as DeleteProjectResponse, GetProjectResponse as GetProjectResponse, ListProjectResponse as ListProjectResponse, GetProjectTagsResponse as GetProjectTagsResponse
|
|
33
|
+
from .pulllog_response import PullLogResponse as PullLogResponse
|
|
34
|
+
from .shard_response import ListShardResponse as ListShardResponse, DeleteShardResponse as DeleteShardResponse
|
|
35
|
+
from .shipper_response import CreateShipperResponse as CreateShipperResponse, UpdateShipperResponse as UpdateShipperResponse, DeleteShipperResponse as DeleteShipperResponse, GetShipperConfigResponse as GetShipperConfigResponse, ListShipperResponse as ListShipperResponse, GetShipperTasksResponse as GetShipperTasksResponse, RetryShipperTasksResponse as RetryShipperTasksResponse
|
|
36
|
+
from .common_response import CreateEntityResponse as CreateEntityResponse, UpdateEntityResponse as UpdateEntityResponse, DeleteEntityResponse as DeleteEntityResponse, GetEntityResponse as GetEntityResponse, ListEntityResponse as ListEntityResponse
|
|
37
|
+
from .external_store_config_response import CreateExternalStoreResponse as CreateExternalStoreResponse, DeleteExternalStoreResponse as DeleteExternalStoreResponse, GetExternalStoreResponse as GetExternalStoreResponse, UpdateExternalStoreResponse as UpdateExternalStoreResponse, ListExternalStoreResponse as ListExternalStoreResponse
|
|
38
|
+
from .proto import LogGroupRaw as LogGroup
|
|
39
|
+
from .rebuild_index_response import CreateRebuildIndexResponse as CreateRebuildIndexResponse, GetRebuildIndexResponse as GetRebuildIndexResponse
|
|
40
|
+
from .deletelogsrequest import DeleteLogsRequest as DeleteLogsRequest
|
|
41
|
+
from .deletelogssresponse import DeleteLogsResponse as DeleteLogsResponse
|
|
42
|
+
from .getdeletelogsstatusrequest import GetDeleteLogsStatusRequest as GetDeleteLogsStatusRequest
|
|
43
|
+
from .getdeletelogsstatusresponse import GetDeleteLogsStatusResponse as GetDeleteLogsStatusResponse
|
|
44
|
+
from .listdeletelogsstasksrequest import ListDeleteLogsTasksRequest as ListDeleteLogsTasksRequest
|
|
45
|
+
from .listdeletelogsstasksresponse import ListDeleteLogsTasksResponse as ListDeleteLogsTasksResponse
|
|
46
|
+
from .logger_hanlder import SimpleLogHandler as SimpleLogHandler, QueuedLogHandler as QueuedLogHandler, LogFields as LogFields, UwsgiQueuedLogHandler as UwsgiQueuedLogHandler
|
|
47
|
+
from .metering_mode_response import GetLogStoreMeteringModeResponse as GetLogStoreMeteringModeResponse, \
|
|
48
|
+
GetMetricStoreMeteringModeResponse as GetMetricStoreMeteringModeResponse, \
|
|
49
|
+
UpdateLogStoreMeteringModeResponse as UpdateLogStoreMeteringModeResponse, UpdateMetricStoreMeteringModeResponse as UpdateMetricStoreMeteringModeResponse
|
|
50
|
+
from .multimodal_config_response import GetLogStoreMultimodalConfigurationResponse as GetLogStoreMultimodalConfigurationResponse, \
|
|
51
|
+
PutLogStoreMultimodalConfigurationResponse as PutLogStoreMultimodalConfigurationResponse
|
|
52
|
+
from .object_response import PutObjectResponse as PutObjectResponse, GetObjectResponse as GetObjectResponse
|
|
53
|
+
|
|
54
|
+
from .store_view import StoreView as StoreView, StoreViewStore as StoreViewStore
|
|
55
|
+
from .store_view_response import CreateStoreViewResponse as CreateStoreViewResponse, UpdateStoreViewResponse as UpdateStoreViewResponse, DeleteStoreViewResponse as DeleteStoreViewResponse, ListStoreViewsResponse as ListStoreViewsResponse, GetStoreViewResponse as GetStoreViewResponse
|
|
56
|
+
from .submit_async_sql_request import SubmitAsyncSqlRequest as SubmitAsyncSqlRequest
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
from .config import CursorPosition as CursorPosition, LogHubConfig as LogHubConfig
|
|
2
|
+
from .tasks import ConsumerJsonProcessorBase as ConsumerJsonProcessorBase, ConsumerProcessorAdaptor as ConsumerProcessorAdaptor, ConsumerProcessorBase as ConsumerProcessorBase
|
|
3
|
+
from .worker import ConsumerWorker as ConsumerWorker
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
from typing import Any, Callable, Optional
|
|
2
|
+
from enum import Enum
|
|
3
|
+
|
|
4
|
+
class CursorPosition(Enum):
|
|
5
|
+
BEGIN_CURSOR = 'BEGIN_CURSOR'
|
|
6
|
+
END_CURSOR = 'END_CURSOR'
|
|
7
|
+
SPECIAL_TIMER_CURSOR = 'SPECIAL_TIMER_CURSOR'
|
|
8
|
+
|
|
9
|
+
class ConsumerStatus(Enum):
|
|
10
|
+
INITIALIZING = 'INITIALIZING'
|
|
11
|
+
PROCESSING = 'PROCESSING'
|
|
12
|
+
SHUTTING_DOWN = 'SHUTTING_DOWN'
|
|
13
|
+
SHUTDOWN_COMPLETE = 'SHUTDOWN_COMPLETE'
|
|
14
|
+
|
|
15
|
+
class LogHubConfig:
|
|
16
|
+
endpoint: str
|
|
17
|
+
accessKeyId: str
|
|
18
|
+
accessKey: str
|
|
19
|
+
project: str
|
|
20
|
+
logstore: str
|
|
21
|
+
consumer_group_name: str
|
|
22
|
+
consumer_name: str
|
|
23
|
+
cursor_position: CursorPosition
|
|
24
|
+
heartbeat_interval: int
|
|
25
|
+
data_fetch_interval: int
|
|
26
|
+
in_order: bool
|
|
27
|
+
cursor_start_time: Any
|
|
28
|
+
securityToken: Optional[str]
|
|
29
|
+
max_fetch_log_group_size: int
|
|
30
|
+
worker_pool_size: int
|
|
31
|
+
shared_executor: Any
|
|
32
|
+
consumer_group_time_out: int
|
|
33
|
+
cursor_end_time: Any
|
|
34
|
+
credentials_refresher: Optional[Callable[..., Any]]
|
|
35
|
+
auth_version: str
|
|
36
|
+
region: str
|
|
37
|
+
query: Optional[str]
|
|
38
|
+
accept_compress_type: Optional[str]
|
|
39
|
+
processor: Optional[str]
|
|
40
|
+
def __init__(self, endpoint: str, access_key_id: str, access_key: str, project: str, logstore: str, consumer_group_name: str, consumer_name: str, cursor_position: Optional[CursorPosition] = ..., heartbeat_interval: Optional[int] = ..., data_fetch_interval: Optional[int] = ..., in_order: bool = False, cursor_start_time: Any = ..., security_token: Optional[str] = ..., max_fetch_log_group_size: Optional[int] = ..., worker_pool_size: Optional[int] = ..., shared_executor: Any = ..., cursor_end_time: Any = ..., credentials_refresher: Optional[Callable[..., Any]] = ..., auth_version: str = ..., region: str = '', query: Optional[str] = ..., accept_compress_type: Optional[str] = ..., processor: Optional[str] = ...) -> None: ...
|
|
File without changes
|
|
@@ -214,8 +214,7 @@ def consumer_fetch_task(loghub_client_adapter, preprocessor, shard_id, cursor, m
|
|
|
214
214
|
|
|
215
215
|
for retry_times in range(3):
|
|
216
216
|
try:
|
|
217
|
-
# type: PullLogResponse
|
|
218
|
-
response = loghub_client_adapter.pull_logs(shard_id, cursor, count=max_fetch_log_group_size, end_cursor=end_cursor, query=query, processor=consume_processor)
|
|
217
|
+
response = loghub_client_adapter.pull_logs(shard_id, cursor, count=max_fetch_log_group_size, end_cursor=end_cursor, query=query, processor=consume_processor) # type: PullLogResponse
|
|
219
218
|
data = preprocessor(response)
|
|
220
219
|
next_cursor = response.get_next_cursor()
|
|
221
220
|
raw_size = response.get_raw_size()
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import abc
|
|
2
|
+
from typing import Any
|
|
3
|
+
|
|
4
|
+
class ConsumerProcessorBase(object, metaclass=abc.ABCMeta):
|
|
5
|
+
shard_id: int
|
|
6
|
+
last_check_time: float
|
|
7
|
+
checkpoint_timeout: int
|
|
8
|
+
def __init__(self) -> None: ...
|
|
9
|
+
def save_checkpoint(self, tracker: Any, force: bool = False) -> None: ...
|
|
10
|
+
def initialize(self, shard: int) -> None: ...
|
|
11
|
+
@abc.abstractmethod
|
|
12
|
+
def process(self, log_groups: Any, check_point_tracker: Any) -> Any: ...
|
|
13
|
+
def shutdown(self, check_point_tracker: Any) -> None: ...
|
|
14
|
+
|
|
15
|
+
class ConsumerJsonProcessorBase(ConsumerProcessorBase, metaclass=abc.ABCMeta):
|
|
16
|
+
def __init__(self) -> None: ...
|
|
17
|
+
@abc.abstractmethod
|
|
18
|
+
def process(self, flattern_json_list: Any, check_point_tracker: Any) -> Any: ...
|
|
19
|
+
|
|
20
|
+
class ConsumerProcessorAdaptor(ConsumerProcessorBase):
|
|
21
|
+
func: Any
|
|
22
|
+
def __init__(self, func: Any) -> None: ...
|
|
23
|
+
def process(self, log_groups: Any, check_point_tracker: Any) -> None: ...
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import logging
|
|
2
|
+
from typing import Any, Dict, MutableMapping, Optional, Sequence, Tuple
|
|
3
|
+
from threading import Thread
|
|
4
|
+
from .config import LogHubConfig as LogHubConfig
|
|
5
|
+
|
|
6
|
+
class ConsumerWorkerLoggerAdapter(logging.LoggerAdapter):
|
|
7
|
+
def process(self, msg: Any, kwargs: MutableMapping[str, Any]) -> Tuple[Any, MutableMapping[str, Any]]: ...
|
|
8
|
+
|
|
9
|
+
class ConsumerWorker(Thread):
|
|
10
|
+
make_processor: Any
|
|
11
|
+
process_args: Sequence[Any]
|
|
12
|
+
process_kwargs: Dict[str, Any]
|
|
13
|
+
option: LogHubConfig
|
|
14
|
+
consumer_client: Any
|
|
15
|
+
shut_down_flag: bool
|
|
16
|
+
logger: logging.LoggerAdapter
|
|
17
|
+
shard_consumers: Dict[Any, Any]
|
|
18
|
+
last_owned_consumer_finish_time: float
|
|
19
|
+
heart_beat: Any
|
|
20
|
+
own_executor: bool
|
|
21
|
+
def __init__(self, make_processor: Any, consumer_option: LogHubConfig, args: Optional[Sequence[Any]] = ..., kwargs: Optional[Dict[str, Any]] = ...) -> None: ...
|
|
22
|
+
@property
|
|
23
|
+
def executor(self) -> Any: ...
|
|
24
|
+
def run(self) -> None: ...
|
|
25
|
+
def start(self, join: bool = False) -> None: ...
|
|
26
|
+
def shutdown_and_wait(self) -> None: ...
|
|
27
|
+
def clean_shard_consumer(self, owned_shards: Sequence[Any]) -> None: ...
|
|
28
|
+
def shutdown(self) -> None: ...
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
from typing import Optional
|
|
3
|
+
|
|
4
|
+
class Credentials:
|
|
5
|
+
access_key_id: str
|
|
6
|
+
access_key_secret: str
|
|
7
|
+
security_token: Optional[str]
|
|
8
|
+
def __init__(self, access_key_id: str, access_key_secret: str, security_token: Optional[str] = ...) -> None: ...
|
|
9
|
+
def get_access_key_id(self) -> str: ...
|
|
10
|
+
def get_access_key_secret(self) -> str: ...
|
|
11
|
+
def get_security_token(self) -> Optional[str]: ...
|
|
12
|
+
|
|
13
|
+
class CredentialsProvider:
|
|
14
|
+
def get_credentials(self) -> Optional[Credentials]: ...
|
|
15
|
+
|
|
16
|
+
class StaticCredentialsProvider(CredentialsProvider):
|
|
17
|
+
def __init__(self, access_key_id: str = ..., access_key_secret: str = ..., security_token: str = ...) -> None: ...
|
|
18
|
+
def get_credentials(self) -> Credentials: ...
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
from typing import Any, Dict
|
|
3
|
+
|
|
4
|
+
from .logresponse import LogResponse
|
|
5
|
+
|
|
6
|
+
class GetCursorResponse(LogResponse):
|
|
7
|
+
def __init__(self, resp: Dict[str, Any], header: Dict[str, Any]) -> None: ...
|
|
8
|
+
def get_cursor(self) -> str: ...
|
|
9
|
+
def log_print(self) -> None: ...
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
from typing import Any, Dict
|
|
3
|
+
|
|
4
|
+
from .logresponse import LogResponse
|
|
5
|
+
|
|
6
|
+
class GetCursorTimeResponse(LogResponse):
|
|
7
|
+
def __init__(self, resp: Dict[str, Any], header: Dict[str, Any]) -> None: ...
|
|
8
|
+
def get_cursor_time(self) -> int: ...
|
|
9
|
+
def log_print(self) -> None: ...
|
|
File without changes
|
{aliyun_log_python_sdk-0.9.45 → aliyun_log_python_sdk-0.9.46}/aliyun/log/external_store_config.py
RENAMED
|
@@ -59,7 +59,7 @@ class ExternalStoreConfig(ExternalStoreConfigBase):
|
|
|
59
59
|
json_value["storeType"] = self.storeType
|
|
60
60
|
param = {}
|
|
61
61
|
param["vpc-id"] = self.vpcId
|
|
62
|
-
param["instance-id"] = self.instanceId
|
|
62
|
+
param["instance-id"] = self.instanceId or ""
|
|
63
63
|
param["host"] = self.host
|
|
64
64
|
param["port"] = self.port
|
|
65
65
|
param["username"] = self.username
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
from typing import Optional, Union
|
|
3
|
+
|
|
4
|
+
from .logrequest import LogRequest
|
|
5
|
+
from .util import parse_timestamp
|
|
6
|
+
|
|
7
|
+
class GetHistogramsRequest(LogRequest):
|
|
8
|
+
def __init__(self, project: Optional[str] = ..., logstore: Optional[str] = ..., fromTime: Optional[Union[int, str]] = ..., toTime: Optional[Union[int, str]] = ..., topic: Optional[str] = ..., query: Optional[str] = ..., accurate_query: bool = ..., from_time_nano_part: int = ..., to_time_nano_part: int = ..., shard_id: int = ...) -> None: ...
|
|
9
|
+
def get_logstore(self) -> str: ...
|
|
10
|
+
def set_logstore(self, logstore: str) -> None: ...
|
|
11
|
+
def get_topic(self) -> str: ...
|
|
12
|
+
def set_topic(self, topic: str) -> None: ...
|
|
13
|
+
def get_from(self) -> int: ...
|
|
14
|
+
def set_from(self, fromTime: int) -> None: ...
|
|
15
|
+
def get_to(self) -> int: ...
|
|
16
|
+
def set_to(self, toTime: int) -> None: ...
|
|
17
|
+
def get_query(self) -> str: ...
|
|
18
|
+
def set_query(self, query: str) -> None: ...
|
|
19
|
+
def get_accurate_query(self) -> bool: ...
|
|
20
|
+
def set_accurate_query(self, accurate_query: bool) -> None: ...
|
|
21
|
+
def get_from_time_nano_part(self) -> int: ...
|
|
22
|
+
def set_from_time_nano_part(self, from_time_nano_part: int) -> None: ...
|
|
23
|
+
def get_to_time_nano_part(self) -> int: ...
|
|
24
|
+
def set_to_time_nano_part(self, to_time_nano_part: int) -> None: ...
|
|
25
|
+
def set_shard_id(self, shard_id: int) -> None: ...
|
|
26
|
+
def get_shard_id(self) -> int: ...
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
from typing import Any, Callable, Dict, Iterator, List, Optional, Tuple, Union
|
|
3
|
+
|
|
4
|
+
from .logresponse import LogResponse
|
|
5
|
+
from .histogram import Histogram
|
|
6
|
+
from .util import Util
|
|
7
|
+
|
|
8
|
+
class GetHistogramsResponse(LogResponse):
|
|
9
|
+
def __init__(self, resp: Dict[str, Any], header: Dict[str, Any]) -> None: ...
|
|
10
|
+
def is_completed(self) -> bool: ...
|
|
11
|
+
def get_total_count(self) -> int: ...
|
|
12
|
+
def get_histograms(self) -> List[Histogram]: ...
|
|
13
|
+
def log_print(self) -> None: ...
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
from typing import Any, Callable, Dict, Iterator, List, Optional, Tuple, Union
|
|
3
|
+
|
|
4
|
+
from .logrequest import LogRequest
|
|
5
|
+
|
|
6
|
+
class GetLogsRequest(LogRequest):
|
|
7
|
+
def __init__(self, project: Optional[str] = ..., logstore: Optional[str] = ..., fromTime: Optional[Union[int, str]] = ..., toTime: Optional[Union[int, str]] = ..., topic: Optional[str] = ..., query: Optional[str] = ..., line: int = ..., offset: int = ..., reverse: bool = ..., power_sql: bool = ..., scan: bool = ..., forward: bool = ..., accurate_query: bool = ..., from_time_nano_part: int = ..., to_time_nano_part: int = ...) -> None: ...
|
|
8
|
+
def get_logstore(self) -> str: ...
|
|
9
|
+
def set_logstore(self, logstore: str) -> None: ...
|
|
10
|
+
def get_topic(self) -> str: ...
|
|
11
|
+
def set_topic(self, topic: str) -> None: ...
|
|
12
|
+
def get_from(self) -> int: ...
|
|
13
|
+
def set_from(self, fromTime: int) -> None: ...
|
|
14
|
+
def get_to(self) -> int: ...
|
|
15
|
+
def set_to(self, toTime: int) -> None: ...
|
|
16
|
+
def get_query(self) -> str: ...
|
|
17
|
+
def set_query(self, query: str) -> None: ...
|
|
18
|
+
def get_line(self) -> int: ...
|
|
19
|
+
def set_line(self, line: int) -> None: ...
|
|
20
|
+
def get_offset(self) -> int: ...
|
|
21
|
+
def set_offset(self, offset: int) -> None: ...
|
|
22
|
+
def get_reverse(self) -> bool: ...
|
|
23
|
+
def set_reverse(self, reverse: bool) -> None: ...
|
|
24
|
+
def get_power_sql(self) -> bool: ...
|
|
25
|
+
def set_power_sql(self, power_sql: bool) -> None: ...
|
|
26
|
+
def get_scan(self) -> bool: ...
|
|
27
|
+
def set_scan(self, scan: bool) -> None: ...
|
|
28
|
+
def get_forward(self) -> bool: ...
|
|
29
|
+
def set_forward(self, forward: bool) -> None: ...
|
|
30
|
+
def get_accurate_query(self) -> bool: ...
|
|
31
|
+
def set_accurate_query(self, accurate_query: bool) -> None: ...
|
|
32
|
+
def get_from_time_nano_part(self) -> int: ...
|
|
33
|
+
def set_from_time_nano_part(self, from_time_nano_part: int) -> None: ...
|
|
34
|
+
def get_to_time_nano_part(self) -> int: ...
|
|
35
|
+
def set_to_time_nano_part(self, to_time_nano_part: int) -> None: ...
|
|
36
|
+
|
|
37
|
+
class GetProjectLogsRequest(LogRequest):
|
|
38
|
+
def __init__(self, project: Optional[str] = ..., query: Optional[str] = ..., power_sql: bool = ...) -> None: ...
|
|
39
|
+
def get_query(self) -> str: ...
|
|
40
|
+
def set_query(self, query: str) -> None: ...
|
|
41
|
+
def get_power_sql(self) -> bool: ...
|
|
42
|
+
def set_power_sql(self, power_sql: bool) -> None: ...
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
from typing import Any, Dict, List, Optional
|
|
2
|
+
from enum import Enum
|
|
3
|
+
|
|
4
|
+
from .logresponse import LogResponse
|
|
5
|
+
from .queriedlog import QueriedLog
|
|
6
|
+
|
|
7
|
+
class GetLogsResponse(LogResponse):
|
|
8
|
+
class QueryMode(Enum):
|
|
9
|
+
NORMAL = 0
|
|
10
|
+
PHRASE = 1
|
|
11
|
+
SCAN = 2
|
|
12
|
+
SCAN_SQL = 3
|
|
13
|
+
def __init__(self, resp: Dict[str, Any], header: Dict[str, Any]) -> None: ...
|
|
14
|
+
def get_count(self) -> int: ...
|
|
15
|
+
def is_completed(self) -> bool: ...
|
|
16
|
+
def get_logs(self) -> List[QueriedLog]: ...
|
|
17
|
+
def get_processed_rows(self) -> int: ...
|
|
18
|
+
def get_elapsed_mills(self) -> int: ...
|
|
19
|
+
def get_has_sql(self) -> bool: ...
|
|
20
|
+
def get_where_query(self) -> str: ...
|
|
21
|
+
def get_agg_query(self) -> str: ...
|
|
22
|
+
def get_cpu_sec(self) -> float: ...
|
|
23
|
+
def get_cpu_cores(self) -> float: ...
|
|
24
|
+
def get_query_mode(self) -> GetLogsResponse.QueryMode: ...
|
|
25
|
+
def get_scan_bytes(self) -> int: ...
|
|
26
|
+
def get_begin_offset(self) -> Optional[int]: ...
|
|
27
|
+
def get_end_offset(self) -> Optional[int]: ...
|
|
28
|
+
def get_scan_all(self) -> Optional[bool]: ...
|
|
29
|
+
def log_print(self) -> None: ...
|
|
30
|
+
def get_log_list(self) -> List[QueriedLog]: ...
|
|
31
|
+
def get_meta(self) -> GetLogsResponse.GetLogsResponseMeta: ...
|
|
32
|
+
def merge(self, other: GetLogsResponse) -> GetLogsResponse: ...
|
|
33
|
+
class GetLogsResponseMeta:
|
|
34
|
+
def __init__(self, meta: Any) -> None: ...
|
|
35
|
+
def is_completed(self) -> bool: ...
|
|
36
|
+
def merge(self, other: GetLogsResponse.GetLogsResponseMeta) -> GetLogsResponse.GetLogsResponseMeta: ...
|
|
37
|
+
def get_count(self) -> int: ...
|
|
38
|
+
def log_print(self) -> None: ...
|
|
39
|
+
def get_progress(self) -> Optional[str]: ...
|
|
40
|
+
def get_processed_rows(self) -> int: ...
|
|
41
|
+
def get_elapsed_millisecond(self) -> int: ...
|
|
42
|
+
def get_has_sql(self) -> bool: ...
|
|
43
|
+
def get_where_query(self) -> str: ...
|
|
44
|
+
def get_agg_query(self) -> Optional[str]: ...
|
|
45
|
+
def get_cpu_sec(self) -> float: ...
|
|
46
|
+
def get_cpu_cores(self) -> float: ...
|
|
47
|
+
def get_mode(self) -> int: ...
|
|
48
|
+
def get_scan_bytes(self) -> int: ...
|
|
49
|
+
def get_phrase_query_info(self) -> Optional[GetLogsResponse.PhraseQueryInfo]: ...
|
|
50
|
+
def get_limited(self) -> Optional[int]: ...
|
|
51
|
+
def get_processed_bytes(self) -> Optional[int]: ...
|
|
52
|
+
def get_telemetry_type(self) -> Optional[str]: ...
|
|
53
|
+
def get_power_sql(self) -> bool: ...
|
|
54
|
+
def get_inserted_sql(self) -> Optional[str]: ...
|
|
55
|
+
def get_keys(self) -> Optional[List[str]]: ...
|
|
56
|
+
def get_marker(self) -> Optional[str]: ...
|
|
57
|
+
def get_is_accurate(self) -> Optional[bool]: ...
|
|
58
|
+
def get_column_types(self) -> Optional[List[str]]: ...
|
|
59
|
+
def get_highlights(self) -> Any: ...
|
|
60
|
+
def get_terms(self) -> List[GetLogsResponse.Term]: ...
|
|
61
|
+
class PhraseQueryInfo:
|
|
62
|
+
def __init__(self, pharse_query_info: Any) -> None: ...
|
|
63
|
+
def get_begin_offset(self) -> Optional[int]: ...
|
|
64
|
+
def get_end_offset(self) -> Optional[int]: ...
|
|
65
|
+
def get_scan_all(self) -> Optional[bool]: ...
|
|
66
|
+
def get_end_time(self) -> Optional[int]: ...
|
|
67
|
+
def log_print(self) -> None: ...
|
|
68
|
+
class Term:
|
|
69
|
+
def __init__(self, key: str, term: str) -> None: ...
|
|
70
|
+
def get_key(self) -> Optional[str]: ...
|
|
71
|
+
def get_term(self) -> Optional[str]: ...
|
|
72
|
+
def log_print(self) -> None: ...
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
from typing import Any, Callable, Dict, Iterator, List, Optional, Tuple, Union
|
|
3
|
+
|
|
4
|
+
import time
|
|
5
|
+
|
|
6
|
+
class IndexJsonKeyConfig(object):
|
|
7
|
+
def __init__(self, index_all: bool = ..., max_depth: int = ..., alias: Optional[str] = ...) -> None: ...
|
|
8
|
+
def add_key(self, key_name: Any, key_type: Any, doc_value: Any = ..., alias: Optional[str] = ...) -> None: ...
|
|
9
|
+
def to_json(self, json_value: Any) -> None: ...
|
|
10
|
+
def from_json(self, json_value: Any) -> None: ...
|
|
11
|
+
|
|
12
|
+
class IndexKeyConfig(object):
|
|
13
|
+
def __init__(self, token_list: Optional[List[str]] = ..., case_sensitive: bool = ..., index_type: str = ..., doc_value: bool = ..., alias: Optional[str] = ..., json_key_config: Optional[IndexJsonKeyConfig] = ..., chinese: Optional[bool] = ..., embedding: Any = ..., vector_index: Any = ...) -> None: ...
|
|
14
|
+
def set_json_key_config(self, json_key_config: IndexJsonKeyConfig) -> None: ...
|
|
15
|
+
def get_json_key_config(self) -> Any: ...
|
|
16
|
+
def to_json(self) -> Any: ...
|
|
17
|
+
def from_json(self, json_value: Any) -> None: ...
|
|
18
|
+
|
|
19
|
+
class IndexLineConfig(object):
|
|
20
|
+
def __init__(self, token_list: Optional[List[str]] = ..., case_sensitive: bool = ..., include_keys: Optional[List[str]] = ..., exclude_keys: Optional[List[str]] = ..., chinese: Optional[bool] = ..., auto_key_detect: Optional[bool] = ..., auto_key_count_limit: Optional[int] = ...) -> None: ...
|
|
21
|
+
def to_json(self) -> Any: ...
|
|
22
|
+
def from_json(self, json_value: Any) -> None: ...
|
|
23
|
+
|
|
24
|
+
class IndexConfig(object):
|
|
25
|
+
def __init__(self, ttl: int = ..., line_config: Optional[IndexLineConfig] = ..., key_config_list: Optional[Dict[str, Any]] = ..., all_keys_config: Optional[IndexKeyConfig] = ..., log_reduce: Optional[bool] = ..., scan_index: Optional[bool] = ...) -> None: ...
|
|
26
|
+
def set_docvalue_max_text_len(self, max_len: Any) -> None: ...
|
|
27
|
+
def set_log_reduce_black_list(self, black_list: Any) -> None: ...
|
|
28
|
+
def set_log_reduce_white_list(self, white_list: Any) -> None: ...
|
|
29
|
+
def set_scan_index(self, scan_index: bool) -> None: ...
|
|
30
|
+
def to_json(self) -> Any: ...
|
|
31
|
+
def from_json(self, json_value: Any) -> None: ...
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
from typing import Any, Callable, Dict, Iterator, List, Optional, Tuple, Union
|
|
3
|
+
|
|
4
|
+
from .logresponse import LogResponse
|
|
5
|
+
|
|
6
|
+
class ListLogstoresResponse(LogResponse):
|
|
7
|
+
def __init__(self, resp: Dict[str, Any], header: Dict[str, Any]) -> None: ...
|
|
8
|
+
def get_count(self) -> int: ...
|
|
9
|
+
def get_total(self) -> int: ...
|
|
10
|
+
def get_logstores(self) -> List[str]: ...
|
|
11
|
+
def log_print(self) -> None: ...
|
|
12
|
+
def merge(self, response: ListLogstoresResponse) -> ListLogstoresResponse: ...
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
from typing import Any, Callable, Dict, Iterator, List, Optional, Tuple, Union
|
|
3
|
+
|
|
4
|
+
from .logrequest import LogRequest
|
|
5
|
+
|
|
6
|
+
class ListTopicsRequest(LogRequest):
|
|
7
|
+
def __init__(self, project: Optional[str] = ..., logstore: Optional[str] = ..., token: Optional[str] = ..., line: Optional[int] = ...) -> None: ...
|
|
8
|
+
def get_logstore(self) -> str: ...
|
|
9
|
+
def set_logstore(self, logstore: str) -> None: ...
|
|
10
|
+
def get_token(self) -> str: ...
|
|
11
|
+
def set_token(self, token: str) -> None: ...
|
|
12
|
+
def get_line(self) -> int: ...
|
|
13
|
+
def set_line(self, line: int) -> None: ...
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
from typing import Any, Callable, Dict, Iterator, List, Optional, Tuple, Union
|
|
3
|
+
|
|
4
|
+
from .logresponse import LogResponse
|
|
5
|
+
from .util import Util
|
|
6
|
+
|
|
7
|
+
class ListTopicsResponse(LogResponse):
|
|
8
|
+
def __init__(self, resp: Dict[str, Any], header: Dict[str, Any]) -> None: ...
|
|
9
|
+
def get_count(self) -> int: ...
|
|
10
|
+
def get_topics(self) -> List[Any]: ...
|
|
11
|
+
def get_next_token(self) -> Optional[str]: ...
|
|
12
|
+
def log_print(self) -> None: ...
|