capo-entityresolution 0.1.0__py3-none-any.whl
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.
- capo_entityresolution/__init__.py +74 -0
- capo_entityresolution/_async.py +25 -0
- capo_entityresolution/_auth/_identity.py +16 -0
- capo_entityresolution/_auth/_providers.py +886 -0
- capo_entityresolution/_auth/_signers.py +88 -0
- capo_entityresolution/_auth/_sigv4.py +434 -0
- capo_entityresolution/_auth/_zapros_handler.py +80 -0
- capo_entityresolution/_iter.py +113 -0
- capo_entityresolution/_operations/aws_venice_service/add_policy_statement.py +180 -0
- capo_entityresolution/_operations/aws_venice_service/batch_delete_unique_id.py +170 -0
- capo_entityresolution/_operations/aws_venice_service/create_id_mapping_workflow.py +181 -0
- capo_entityresolution/_operations/aws_venice_service/create_id_namespace.py +178 -0
- capo_entityresolution/_operations/aws_venice_service/create_matching_workflow.py +181 -0
- capo_entityresolution/_operations/aws_venice_service/create_schema_mapping.py +176 -0
- capo_entityresolution/_operations/aws_venice_service/delete_id_mapping_workflow.py +167 -0
- capo_entityresolution/_operations/aws_venice_service/delete_id_namespace.py +162 -0
- capo_entityresolution/_operations/aws_venice_service/delete_matching_workflow.py +167 -0
- capo_entityresolution/_operations/aws_venice_service/delete_policy_statement.py +173 -0
- capo_entityresolution/_operations/aws_venice_service/delete_schema_mapping.py +167 -0
- capo_entityresolution/_operations/aws_venice_service/generate_match_id.py +179 -0
- capo_entityresolution/_operations/aws_venice_service/get_id_mapping_job.py +177 -0
- capo_entityresolution/_operations/aws_venice_service/get_id_mapping_workflow.py +172 -0
- capo_entityresolution/_operations/aws_venice_service/get_id_namespace.py +175 -0
- capo_entityresolution/_operations/aws_venice_service/get_match_id.py +174 -0
- capo_entityresolution/_operations/aws_venice_service/get_matching_job.py +176 -0
- capo_entityresolution/_operations/aws_venice_service/get_matching_workflow.py +172 -0
- capo_entityresolution/_operations/aws_venice_service/get_policy.py +169 -0
- capo_entityresolution/_operations/aws_venice_service/get_provider_service.py +178 -0
- capo_entityresolution/_operations/aws_venice_service/get_schema_mapping.py +169 -0
- capo_entityresolution/_operations/aws_venice_service/list_id_mapping_jobs.py +172 -0
- capo_entityresolution/_operations/aws_venice_service/list_id_mapping_workflows.py +165 -0
- capo_entityresolution/_operations/aws_venice_service/list_id_namespaces.py +165 -0
- capo_entityresolution/_operations/aws_venice_service/list_matching_jobs.py +172 -0
- capo_entityresolution/_operations/aws_venice_service/list_matching_workflows.py +165 -0
- capo_entityresolution/_operations/aws_venice_service/list_provider_services.py +171 -0
- capo_entityresolution/_operations/aws_venice_service/list_schema_mappings.py +165 -0
- capo_entityresolution/_operations/aws_venice_service/list_tags_for_resource.py +162 -0
- capo_entityresolution/_operations/aws_venice_service/put_policy.py +178 -0
- capo_entityresolution/_operations/aws_venice_service/start_id_mapping_job.py +183 -0
- capo_entityresolution/_operations/aws_venice_service/start_matching_job.py +177 -0
- capo_entityresolution/_operations/aws_venice_service/tag_resource.py +156 -0
- capo_entityresolution/_operations/aws_venice_service/untag_resource.py +151 -0
- capo_entityresolution/_operations/aws_venice_service/update_id_mapping_workflow.py +177 -0
- capo_entityresolution/_operations/aws_venice_service/update_id_namespace.py +174 -0
- capo_entityresolution/_operations/aws_venice_service/update_matching_workflow.py +177 -0
- capo_entityresolution/_operations/aws_venice_service/update_schema_mapping.py +177 -0
- capo_entityresolution/_pagination.py +21 -0
- capo_entityresolution/_protocol/__init__.py +1 -0
- capo_entityresolution/_protocol/errors.py +93 -0
- capo_entityresolution/_protocol/eventstream.py +238 -0
- capo_entityresolution/_protocol/serialize.py +47 -0
- capo_entityresolution/_protocol/xml.py +33 -0
- capo_entityresolution/_rule_engine/__init__.py +0 -0
- capo_entityresolution/_rule_engine/_aws_partition.py +160 -0
- capo_entityresolution/_rule_engine/_endpoint_rule_set.py +137 -0
- capo_entityresolution/_rule_engine/_endpoint_runtime.py +389 -0
- capo_entityresolution/_services/_aws_config.py +160 -0
- capo_entityresolution/_services/_pipeline.py +198 -0
- capo_entityresolution/_services/async_entity_resolution.py +2539 -0
- capo_entityresolution/_services/entity_resolution.py +2503 -0
- capo_entityresolution/errors/__init__.py +34 -0
- capo_entityresolution/errors/_base.py +94 -0
- capo_entityresolution/errors/access_denied_exception.py +51 -0
- capo_entityresolution/errors/conflict_exception.py +49 -0
- capo_entityresolution/errors/exceeds_limit_exception.py +63 -0
- capo_entityresolution/errors/internal_server_exception.py +51 -0
- capo_entityresolution/errors/resource_not_found_exception.py +51 -0
- capo_entityresolution/errors/throttling_exception.py +49 -0
- capo_entityresolution/errors/validation_exception.py +49 -0
- capo_entityresolution/py.typed +0 -0
- capo_entityresolution/types/_prelude/blob.py +12 -0
- capo_entityresolution/types/_prelude/timestamp.py +17 -0
- capo_entityresolution/types/add_policy_statement_input.py +94 -0
- capo_entityresolution/types/add_policy_statement_output.py +46 -0
- capo_entityresolution/types/attribute_matching_model.py +17 -0
- capo_entityresolution/types/attribute_name.py +5 -0
- capo_entityresolution/types/aws_account_id.py +5 -0
- capo_entityresolution/types/aws_account_id_list.py +19 -0
- capo_entityresolution/types/batch_delete_unique_id_input.py +29 -0
- capo_entityresolution/types/batch_delete_unique_id_output.py +101 -0
- capo_entityresolution/types/create_id_mapping_workflow_input.py +147 -0
- capo_entityresolution/types/create_id_mapping_workflow_output.py +148 -0
- capo_entityresolution/types/create_id_namespace_input.py +114 -0
- capo_entityresolution/types/create_id_namespace_output.py +158 -0
- capo_entityresolution/types/create_matching_workflow_input.py +149 -0
- capo_entityresolution/types/create_matching_workflow_output.py +150 -0
- capo_entityresolution/types/create_schema_mapping_input.py +73 -0
- capo_entityresolution/types/create_schema_mapping_output.py +71 -0
- capo_entityresolution/types/customer_profiles_domain_arn.py +5 -0
- capo_entityresolution/types/customer_profiles_integration_config.py +43 -0
- capo_entityresolution/types/customer_profiles_object_type_arn.py +5 -0
- capo_entityresolution/types/delete_id_mapping_workflow_input.py +24 -0
- capo_entityresolution/types/delete_id_mapping_workflow_output.py +26 -0
- capo_entityresolution/types/delete_id_namespace_input.py +24 -0
- capo_entityresolution/types/delete_id_namespace_output.py +26 -0
- capo_entityresolution/types/delete_matching_workflow_input.py +24 -0
- capo_entityresolution/types/delete_matching_workflow_output.py +26 -0
- capo_entityresolution/types/delete_policy_statement_input.py +27 -0
- capo_entityresolution/types/delete_policy_statement_output.py +46 -0
- capo_entityresolution/types/delete_schema_mapping_input.py +24 -0
- capo_entityresolution/types/delete_schema_mapping_output.py +26 -0
- capo_entityresolution/types/delete_unique_id_error.py +51 -0
- capo_entityresolution/types/delete_unique_id_error_type.py +17 -0
- capo_entityresolution/types/delete_unique_id_errors_list.py +35 -0
- capo_entityresolution/types/delete_unique_id_status.py +17 -0
- capo_entityresolution/types/deleted_unique_id.py +31 -0
- capo_entityresolution/types/deleted_unique_id_list.py +31 -0
- capo_entityresolution/types/description.py +5 -0
- capo_entityresolution/types/disconnected_unique_ids_list.py +19 -0
- capo_entityresolution/types/entity_name.py +5 -0
- capo_entityresolution/types/entity_name_or_id_mapping_workflow_arn.py +5 -0
- capo_entityresolution/types/entity_name_or_id_namespace_arn.py +5 -0
- capo_entityresolution/types/error_details.py +28 -0
- capo_entityresolution/types/error_message.py +5 -0
- capo_entityresolution/types/failed_record.py +46 -0
- capo_entityresolution/types/failed_records_list.py +31 -0
- capo_entityresolution/types/generate_match_id_input.py +63 -0
- capo_entityresolution/types/generate_match_id_output.py +61 -0
- capo_entityresolution/types/get_id_mapping_job_input.py +27 -0
- capo_entityresolution/types/get_id_mapping_job_output.py +155 -0
- capo_entityresolution/types/get_id_mapping_workflow_input.py +24 -0
- capo_entityresolution/types/get_id_mapping_workflow_output.py +191 -0
- capo_entityresolution/types/get_id_namespace_input.py +24 -0
- capo_entityresolution/types/get_id_namespace_output.py +158 -0
- capo_entityresolution/types/get_match_id_input.py +51 -0
- capo_entityresolution/types/get_match_id_output.py +29 -0
- capo_entityresolution/types/get_matching_job_input.py +27 -0
- capo_entityresolution/types/get_matching_job_output.py +135 -0
- capo_entityresolution/types/get_matching_workflow_input.py +24 -0
- capo_entityresolution/types/get_matching_workflow_output.py +195 -0
- capo_entityresolution/types/get_policy_input.py +24 -0
- capo_entityresolution/types/get_policy_output.py +46 -0
- capo_entityresolution/types/get_provider_service_input.py +29 -0
- capo_entityresolution/types/get_provider_service_output.py +205 -0
- capo_entityresolution/types/get_schema_mapping_input.py +24 -0
- capo_entityresolution/types/get_schema_mapping_output.py +124 -0
- capo_entityresolution/types/header_safe_unique_id.py +5 -0
- capo_entityresolution/types/id_mapping_incremental_run_config.py +42 -0
- capo_entityresolution/types/id_mapping_incremental_run_type.py +14 -0
- capo_entityresolution/types/id_mapping_job_metrics.py +107 -0
- capo_entityresolution/types/id_mapping_job_output_source.py +46 -0
- capo_entityresolution/types/id_mapping_job_output_source_config.py +39 -0
- capo_entityresolution/types/id_mapping_role_arn.py +5 -0
- capo_entityresolution/types/id_mapping_rule_based_properties.py +108 -0
- capo_entityresolution/types/id_mapping_techniques.py +83 -0
- capo_entityresolution/types/id_mapping_type.py +17 -0
- capo_entityresolution/types/id_mapping_workflow_arn.py +5 -0
- capo_entityresolution/types/id_mapping_workflow_input_source.py +55 -0
- capo_entityresolution/types/id_mapping_workflow_input_source_config.py +39 -0
- capo_entityresolution/types/id_mapping_workflow_list.py +37 -0
- capo_entityresolution/types/id_mapping_workflow_output_source.py +40 -0
- capo_entityresolution/types/id_mapping_workflow_output_source_config.py +39 -0
- capo_entityresolution/types/id_mapping_workflow_rule_definition_type.py +17 -0
- capo_entityresolution/types/id_mapping_workflow_rule_definition_type_list.py +39 -0
- capo_entityresolution/types/id_mapping_workflow_summary.py +77 -0
- capo_entityresolution/types/id_namespace_arn.py +5 -0
- capo_entityresolution/types/id_namespace_id_mapping_workflow_metadata.py +43 -0
- capo_entityresolution/types/id_namespace_id_mapping_workflow_metadata_list.py +39 -0
- capo_entityresolution/types/id_namespace_id_mapping_workflow_properties.py +85 -0
- capo_entityresolution/types/id_namespace_id_mapping_workflow_properties_list.py +39 -0
- capo_entityresolution/types/id_namespace_input_source.py +38 -0
- capo_entityresolution/types/id_namespace_input_source_config.py +35 -0
- capo_entityresolution/types/id_namespace_list.py +35 -0
- capo_entityresolution/types/id_namespace_summary.py +119 -0
- capo_entityresolution/types/id_namespace_type.py +17 -0
- capo_entityresolution/types/incremental_run_config.py +42 -0
- capo_entityresolution/types/incremental_run_type.py +14 -0
- capo_entityresolution/types/input_source.py +45 -0
- capo_entityresolution/types/input_source_arn.py +5 -0
- capo_entityresolution/types/input_source_config.py +31 -0
- capo_entityresolution/types/intermediate_source_configuration.py +33 -0
- capo_entityresolution/types/job_id.py +5 -0
- capo_entityresolution/types/job_list.py +29 -0
- capo_entityresolution/types/job_metrics.py +47 -0
- capo_entityresolution/types/job_output_source.py +46 -0
- capo_entityresolution/types/job_output_source_config.py +31 -0
- capo_entityresolution/types/job_status.py +19 -0
- capo_entityresolution/types/job_summary.py +82 -0
- capo_entityresolution/types/job_type.py +18 -0
- capo_entityresolution/types/kms_arn.py +5 -0
- capo_entityresolution/types/list_id_mapping_jobs_input.py +29 -0
- capo_entityresolution/types/list_id_mapping_jobs_output.py +41 -0
- capo_entityresolution/types/list_id_mapping_workflows_input.py +26 -0
- capo_entityresolution/types/list_id_mapping_workflows_output.py +49 -0
- capo_entityresolution/types/list_id_namespaces_input.py +26 -0
- capo_entityresolution/types/list_id_namespaces_output.py +49 -0
- capo_entityresolution/types/list_matching_jobs_input.py +29 -0
- capo_entityresolution/types/list_matching_jobs_output.py +41 -0
- capo_entityresolution/types/list_matching_workflows_input.py +26 -0
- capo_entityresolution/types/list_matching_workflows_output.py +49 -0
- capo_entityresolution/types/list_provider_services_input.py +29 -0
- capo_entityresolution/types/list_provider_services_output.py +49 -0
- capo_entityresolution/types/list_schema_mappings_input.py +26 -0
- capo_entityresolution/types/list_schema_mappings_output.py +49 -0
- capo_entityresolution/types/list_tags_for_resource_input.py +24 -0
- capo_entityresolution/types/list_tags_for_resource_output.py +35 -0
- capo_entityresolution/types/match_group.py +55 -0
- capo_entityresolution/types/match_groups_list.py +29 -0
- capo_entityresolution/types/match_purpose.py +17 -0
- capo_entityresolution/types/matched_record.py +38 -0
- capo_entityresolution/types/matched_records_list.py +31 -0
- capo_entityresolution/types/matching_config.py +23 -0
- capo_entityresolution/types/matching_keys.py +19 -0
- capo_entityresolution/types/matching_workflow_arn.py +5 -0
- capo_entityresolution/types/matching_workflow_list.py +35 -0
- capo_entityresolution/types/matching_workflow_summary.py +95 -0
- capo_entityresolution/types/namespace_provider_properties.py +41 -0
- capo_entityresolution/types/namespace_rule_based_properties.py +99 -0
- capo_entityresolution/types/next_token.py +5 -0
- capo_entityresolution/types/optional_s3_path.py +5 -0
- capo_entityresolution/types/output_attribute.py +37 -0
- capo_entityresolution/types/output_attributes.py +31 -0
- capo_entityresolution/types/output_source.py +81 -0
- capo_entityresolution/types/output_source_config.py +31 -0
- capo_entityresolution/types/policy_document.py +5 -0
- capo_entityresolution/types/policy_token.py +5 -0
- capo_entityresolution/types/processing_type.py +18 -0
- capo_entityresolution/types/provider_component_schema.py +57 -0
- capo_entityresolution/types/provider_endpoint_configuration.py +48 -0
- capo_entityresolution/types/provider_id_name_space_configuration.py +43 -0
- capo_entityresolution/types/provider_intermediate_data_access_configuration.py +63 -0
- capo_entityresolution/types/provider_marketplace_configuration.py +53 -0
- capo_entityresolution/types/provider_properties.py +60 -0
- capo_entityresolution/types/provider_schema_attribute.py +61 -0
- capo_entityresolution/types/provider_schema_attributes.py +35 -0
- capo_entityresolution/types/provider_service_arn.py +5 -0
- capo_entityresolution/types/provider_service_display_name.py +5 -0
- capo_entityresolution/types/provider_service_list.py +35 -0
- capo_entityresolution/types/provider_service_summary.py +84 -0
- capo_entityresolution/types/put_policy_input.py +41 -0
- capo_entityresolution/types/put_policy_output.py +46 -0
- capo_entityresolution/types/record.py +59 -0
- capo_entityresolution/types/record_attribute_map.py +22 -0
- capo_entityresolution/types/record_attribute_map_string255.py +22 -0
- capo_entityresolution/types/record_list.py +29 -0
- capo_entityresolution/types/record_matching_model.py +17 -0
- capo_entityresolution/types/record_matching_model_list.py +35 -0
- capo_entityresolution/types/required_bucket_actions_list.py +14 -0
- capo_entityresolution/types/resolution_techniques.py +104 -0
- capo_entityresolution/types/resolution_type.py +18 -0
- capo_entityresolution/types/role_arn.py +5 -0
- capo_entityresolution/types/rule.py +48 -0
- capo_entityresolution/types/rule_based_properties.py +78 -0
- capo_entityresolution/types/rule_condition.py +33 -0
- capo_entityresolution/types/rule_condition_list.py +31 -0
- capo_entityresolution/types/rule_condition_properties.py +60 -0
- capo_entityresolution/types/rule_list.py +29 -0
- capo_entityresolution/types/s3_path.py +5 -0
- capo_entityresolution/types/schema_attribute_type.py +38 -0
- capo_entityresolution/types/schema_input_attribute.py +73 -0
- capo_entityresolution/types/schema_input_attributes.py +35 -0
- capo_entityresolution/types/schema_list.py +14 -0
- capo_entityresolution/types/schema_mapping_arn.py +5 -0
- capo_entityresolution/types/schema_mapping_list.py +35 -0
- capo_entityresolution/types/schema_mapping_summary.py +82 -0
- capo_entityresolution/types/schemas.py +29 -0
- capo_entityresolution/types/service_type.py +17 -0
- capo_entityresolution/types/start_id_mapping_job_input.py +60 -0
- capo_entityresolution/types/start_id_mapping_job_output.py +67 -0
- capo_entityresolution/types/start_matching_job_input.py +24 -0
- capo_entityresolution/types/start_matching_job_output.py +31 -0
- capo_entityresolution/types/statement_action.py +5 -0
- capo_entityresolution/types/statement_action_list.py +19 -0
- capo_entityresolution/types/statement_condition.py +5 -0
- capo_entityresolution/types/statement_effect.py +17 -0
- capo_entityresolution/types/statement_id.py +5 -0
- capo_entityresolution/types/statement_principal.py +5 -0
- capo_entityresolution/types/statement_principal_list.py +19 -0
- capo_entityresolution/types/tag_key.py +5 -0
- capo_entityresolution/types/tag_key_list.py +17 -0
- capo_entityresolution/types/tag_map.py +29 -0
- capo_entityresolution/types/tag_resource_input.py +38 -0
- capo_entityresolution/types/tag_resource_output.py +18 -0
- capo_entityresolution/types/tag_value.py +5 -0
- capo_entityresolution/types/unique_id.py +5 -0
- capo_entityresolution/types/unique_id_list.py +19 -0
- capo_entityresolution/types/untag_resource_input.py +27 -0
- capo_entityresolution/types/untag_resource_output.py +18 -0
- capo_entityresolution/types/update_id_mapping_workflow_input.py +129 -0
- capo_entityresolution/types/update_id_mapping_workflow_output.py +148 -0
- capo_entityresolution/types/update_id_namespace_input.py +80 -0
- capo_entityresolution/types/update_id_namespace_output.py +147 -0
- capo_entityresolution/types/update_matching_workflow_input.py +133 -0
- capo_entityresolution/types/update_matching_workflow_output.py +140 -0
- capo_entityresolution/types/update_schema_mapping_input.py +57 -0
- capo_entityresolution/types/update_schema_mapping_output.py +70 -0
- capo_entityresolution/types/venice_global_arn.py +5 -0
- capo_entityresolution-0.1.0.dist-info/METADATA +101 -0
- capo_entityresolution-0.1.0.dist-info/RECORD +292 -0
- capo_entityresolution-0.1.0.dist-info/WHEEL +5 -0
- capo_entityresolution-0.1.0.dist-info/licenses/LICENSE +21 -0
- capo_entityresolution-0.1.0.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from . import _iter as _iter
|
|
4
|
+
from . import _protocol as _protocol
|
|
5
|
+
from ._auth._identity import Credentials as Credentials
|
|
6
|
+
from ._auth._identity import Identity as Identity
|
|
7
|
+
from ._auth._providers import (
|
|
8
|
+
AssumeRoleCredentialsProvider as AssumeRoleCredentialsProvider,
|
|
9
|
+
)
|
|
10
|
+
from ._auth._providers import (
|
|
11
|
+
AssumeRoleError as AssumeRoleError,
|
|
12
|
+
)
|
|
13
|
+
from ._auth._providers import (
|
|
14
|
+
CachedProvider as CachedProvider,
|
|
15
|
+
)
|
|
16
|
+
from ._auth._providers import (
|
|
17
|
+
ChainedProvider as ChainedProvider,
|
|
18
|
+
)
|
|
19
|
+
from ._auth._providers import (
|
|
20
|
+
CredentialsProvider as CredentialsProvider,
|
|
21
|
+
)
|
|
22
|
+
from ._auth._providers import (
|
|
23
|
+
EnvCredentialsProvider as EnvCredentialsProvider,
|
|
24
|
+
)
|
|
25
|
+
from ._auth._providers import (
|
|
26
|
+
IdentityNotFound as IdentityNotFound,
|
|
27
|
+
)
|
|
28
|
+
from ._auth._providers import (
|
|
29
|
+
IdentityProvider as IdentityProvider,
|
|
30
|
+
)
|
|
31
|
+
from ._auth._providers import (
|
|
32
|
+
MissingDependencyError as MissingDependencyError,
|
|
33
|
+
)
|
|
34
|
+
from ._auth._providers import (
|
|
35
|
+
ProfileCredentialsProvider as ProfileCredentialsProvider,
|
|
36
|
+
)
|
|
37
|
+
from ._auth._providers import (
|
|
38
|
+
SsoCredentialsProvider as SsoCredentialsProvider,
|
|
39
|
+
)
|
|
40
|
+
from ._auth._providers import (
|
|
41
|
+
SSOError as SSOError,
|
|
42
|
+
)
|
|
43
|
+
from ._auth._providers import (
|
|
44
|
+
StaticAwsCredentialsProvider as StaticAwsCredentialsProvider,
|
|
45
|
+
)
|
|
46
|
+
from ._auth._providers import (
|
|
47
|
+
WebIdentityCredentialsProvider as WebIdentityCredentialsProvider,
|
|
48
|
+
)
|
|
49
|
+
from ._auth._signers import Signer as Signer
|
|
50
|
+
from ._auth._signers import SigV4Signer as SigV4Signer
|
|
51
|
+
from ._services._pipeline import (
|
|
52
|
+
AsyncOperationOptions as AsyncOperationOptions,
|
|
53
|
+
)
|
|
54
|
+
from ._services._pipeline import (
|
|
55
|
+
AsyncOperationRequest as AsyncOperationRequest,
|
|
56
|
+
)
|
|
57
|
+
from ._services._pipeline import (
|
|
58
|
+
AsyncOperationResponse as AsyncOperationResponse,
|
|
59
|
+
)
|
|
60
|
+
from ._services._pipeline import (
|
|
61
|
+
OperationOptions as OperationOptions,
|
|
62
|
+
)
|
|
63
|
+
from ._services._pipeline import (
|
|
64
|
+
OperationRequest as OperationRequest,
|
|
65
|
+
)
|
|
66
|
+
from ._services._pipeline import (
|
|
67
|
+
OperationResponse as OperationResponse,
|
|
68
|
+
)
|
|
69
|
+
from ._services.async_entity_resolution import (
|
|
70
|
+
AsyncEntityResolutionClient as AsyncEntityResolutionClient,
|
|
71
|
+
)
|
|
72
|
+
from ._services.entity_resolution import (
|
|
73
|
+
EntityResolutionClient as EntityResolutionClient,
|
|
74
|
+
)
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
import asyncio
|
|
4
|
+
from typing import TYPE_CHECKING
|
|
5
|
+
|
|
6
|
+
if TYPE_CHECKING:
|
|
7
|
+
import trio
|
|
8
|
+
else:
|
|
9
|
+
try:
|
|
10
|
+
import trio
|
|
11
|
+
except ImportError:
|
|
12
|
+
trio = None
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
def in_trio_run() -> bool:
|
|
16
|
+
if trio is None:
|
|
17
|
+
return False
|
|
18
|
+
return trio.lowlevel.in_trio_run()
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
async def anysleep(delay: float) -> None:
|
|
22
|
+
if in_trio_run():
|
|
23
|
+
await trio.sleep(delay)
|
|
24
|
+
else:
|
|
25
|
+
await asyncio.sleep(delay)
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from datetime import datetime
|
|
4
|
+
from typing import TypedDict
|
|
5
|
+
|
|
6
|
+
from typing_extensions import NotRequired
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
class Identity(TypedDict):
|
|
10
|
+
expiration: NotRequired[datetime | None]
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
class Credentials(Identity):
|
|
14
|
+
access_key: str
|
|
15
|
+
secret_key: str
|
|
16
|
+
session_token: NotRequired[str | None]
|