capo-redshift-data 0.10.0__tar.gz → 0.12.0__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.
- {capo_redshift_data-0.10.0/src/capo_redshift_data.egg-info → capo_redshift_data-0.12.0}/PKG-INFO +2 -2
- {capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/pyproject.toml +2 -2
- capo_redshift_data-0.12.0/src/capo_redshift_data/types/_unknown.py +50 -0
- {capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/types/field.py +15 -15
- {capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/types/query_records.py +5 -5
- {capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0/src/capo_redshift_data.egg-info}/PKG-INFO +2 -2
- {capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data.egg-info/requires.txt +1 -1
- capo_redshift_data-0.10.0/src/capo_redshift_data/types/_unknown.py +0 -34
- {capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/LICENSE +0 -0
- {capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/README.md +0 -0
- {capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/setup.cfg +0 -0
- {capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/__init__.py +0 -0
- {capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/_async.py +0 -0
- {capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/_auth/_identity.py +0 -0
- {capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/_auth/_providers.py +0 -0
- {capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/_auth/_signers.py +0 -0
- {capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/_auth/_sigv4.py +0 -0
- {capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/_auth/_zapros_handler.py +0 -0
- {capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/_aws.py +0 -0
- {capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/_body.py +0 -0
- {capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/_iter.py +0 -0
- {capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/_operations/redshift_data/batch_execute_statement.py +0 -0
- {capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/_operations/redshift_data/cancel_statement.py +0 -0
- {capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/_operations/redshift_data/describe_statement.py +0 -0
- {capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/_operations/redshift_data/describe_table.py +0 -0
- {capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/_operations/redshift_data/execute_statement.py +0 -0
- {capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/_operations/redshift_data/get_statement_result.py +0 -0
- {capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/_operations/redshift_data/get_statement_result_v2.py +0 -0
- {capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/_operations/redshift_data/list_databases.py +0 -0
- {capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/_operations/redshift_data/list_schemas.py +0 -0
- {capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/_operations/redshift_data/list_sessions.py +0 -0
- {capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/_operations/redshift_data/list_statements.py +0 -0
- {capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/_operations/redshift_data/list_tables.py +0 -0
- {capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/_pagination.py +0 -0
- {capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/_protocol/__init__.py +0 -0
- {capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/_protocol/errors.py +0 -0
- {capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/_protocol/eventstream.py +0 -0
- {capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/_protocol/serialize.py +0 -0
- {capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/_protocol/xml.py +0 -0
- {capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/_rule_engine/__init__.py +0 -0
- {capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/_rule_engine/_aws_partition.py +0 -0
- {capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/_rule_engine/_endpoint_rule_set.py +0 -0
- {capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/_rule_engine/_endpoint_runtime.py +0 -0
- {capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/_services/_aws_config.py +0 -0
- {capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/_services/_pipeline.py +0 -0
- {capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/_services/async_redshift_data.py +0 -0
- {capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/_services/redshift_data.py +0 -0
- {capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/errors/__init__.py +0 -0
- {capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/errors/_base.py +0 -0
- {capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/errors/active_sessions_exceeded_exception.py +0 -0
- {capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/errors/active_statements_exceeded_exception.py +0 -0
- {capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/errors/active_waiting_requests_exceeded_exception.py +0 -0
- {capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/errors/batch_execute_statement_exception.py +0 -0
- {capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/errors/database_connection_exception.py +0 -0
- {capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/errors/execute_statement_exception.py +0 -0
- {capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/errors/internal_server_exception.py +0 -0
- {capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/errors/query_timeout_exception.py +0 -0
- {capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/errors/resource_not_found_exception.py +0 -0
- {capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/errors/validation_exception.py +0 -0
- {capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/py.typed +0 -0
- {capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/types/_prelude/blob.py +0 -0
- {capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/types/_prelude/timestamp.py +0 -0
- {capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/types/batch_execute_statement_input.py +0 -0
- {capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/types/batch_execute_statement_output.py +0 -0
- {capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/types/blob.py +0 -0
- {capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/types/bool.py +0 -0
- {capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/types/boxed_boolean.py +0 -0
- {capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/types/boxed_double.py +0 -0
- {capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/types/boxed_long.py +0 -0
- {capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/types/cancel_statement_request.py +0 -0
- {capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/types/cancel_statement_response.py +0 -0
- {capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/types/client_token.py +0 -0
- {capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/types/cluster_identifier_string.py +0 -0
- {capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/types/column_list.py +0 -0
- {capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/types/column_metadata.py +0 -0
- {capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/types/column_metadata_list.py +0 -0
- {capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/types/database_list.py +0 -0
- {capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/types/db_group_list.py +0 -0
- {capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/types/describe_statement_request.py +0 -0
- {capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/types/describe_statement_response.py +0 -0
- {capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/types/describe_table_request.py +0 -0
- {capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/types/describe_table_response.py +0 -0
- {capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/types/execute_statement_input.py +0 -0
- {capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/types/execute_statement_output.py +0 -0
- {capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/types/execution_mode.py +0 -0
- {capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/types/field_list.py +0 -0
- {capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/types/formatted_sql_records.py +0 -0
- {capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/types/get_statement_result_request.py +0 -0
- {capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/types/get_statement_result_response.py +0 -0
- {capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/types/get_statement_result_v2_request.py +0 -0
- {capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/types/get_statement_result_v2_response.py +0 -0
- {capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/types/integer.py +0 -0
- {capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/types/list_databases_request.py +0 -0
- {capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/types/list_databases_response.py +0 -0
- {capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/types/list_schemas_request.py +0 -0
- {capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/types/list_schemas_response.py +0 -0
- {capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/types/list_sessions_request.py +0 -0
- {capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/types/list_sessions_response.py +0 -0
- {capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/types/list_statements_limit.py +0 -0
- {capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/types/list_statements_request.py +0 -0
- {capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/types/list_statements_response.py +0 -0
- {capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/types/list_tables_request.py +0 -0
- {capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/types/list_tables_response.py +0 -0
- {capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/types/long.py +0 -0
- {capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/types/page_size.py +0 -0
- {capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/types/parameter_name.py +0 -0
- {capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/types/parameter_value.py +0 -0
- {capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/types/result_format_string.py +0 -0
- {capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/types/schema_list.py +0 -0
- {capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/types/secret_arn.py +0 -0
- {capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/types/session_alive_seconds.py +0 -0
- {capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/types/session_data.py +0 -0
- {capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/types/session_list.py +0 -0
- {capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/types/session_status_string.py +0 -0
- {capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/types/sql_list.py +0 -0
- {capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/types/sql_parameter.py +0 -0
- {capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/types/sql_parameters_list.py +0 -0
- {capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/types/sql_records.py +0 -0
- {capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/types/statement_data.py +0 -0
- {capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/types/statement_list.py +0 -0
- {capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/types/statement_name_string.py +0 -0
- {capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/types/statement_status_string.py +0 -0
- {capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/types/statement_string.py +0 -0
- {capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/types/statement_string_list.py +0 -0
- {capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/types/status_string.py +0 -0
- {capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/types/string.py +0 -0
- {capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/types/sub_statement_data.py +0 -0
- {capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/types/sub_statement_list.py +0 -0
- {capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/types/table_list.py +0 -0
- {capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/types/table_member.py +0 -0
- {capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/types/uuid.py +0 -0
- {capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/types/wait_time_seconds.py +0 -0
- {capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/types/workgroup_name_string.py +0 -0
- {capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data.egg-info/SOURCES.txt +0 -0
- {capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data.egg-info/dependency_links.txt +0 -0
- {capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data.egg-info/top_level.txt +0 -0
- {capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/tests/test_body.py +0 -0
- {capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/tests/test_sigv4.py +0 -0
{capo_redshift_data-0.10.0/src/capo_redshift_data.egg-info → capo_redshift_data-0.12.0}/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: capo-redshift-data
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.12.0
|
|
4
4
|
Summary: Typed, async Python SDK for AWS Redshift Data.
|
|
5
5
|
Project-URL: Homepage, https://capo-sdk.dev/
|
|
6
6
|
Project-URL: Documentation, https://capo-sdk.dev/services/redshift-data/
|
|
@@ -21,7 +21,7 @@ Classifier: Typing :: Typed
|
|
|
21
21
|
Requires-Python: >=3.10
|
|
22
22
|
Description-Content-Type: text/markdown
|
|
23
23
|
License-File: LICENSE
|
|
24
|
-
Requires-Dist: zapros>=0.
|
|
24
|
+
Requires-Dist: zapros>=0.23.0
|
|
25
25
|
Provides-Extra: anyio
|
|
26
26
|
Requires-Dist: anyio>=3.0; extra == "anyio"
|
|
27
27
|
Provides-Extra: sso
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "capo-redshift-data"
|
|
3
|
-
version = "0.
|
|
3
|
+
version = "0.12.0"
|
|
4
4
|
description = "Typed, async Python SDK for AWS Redshift Data."
|
|
5
5
|
readme = "README.md"
|
|
6
6
|
requires-python = ">=3.10"
|
|
@@ -19,7 +19,7 @@ classifiers = [
|
|
|
19
19
|
"Typing :: Typed",
|
|
20
20
|
]
|
|
21
21
|
dependencies = [
|
|
22
|
-
"zapros>=0.
|
|
22
|
+
"zapros>=0.23.0",
|
|
23
23
|
]
|
|
24
24
|
|
|
25
25
|
[project.urls]
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"""Stand-ins for union variants and events this client doesn't know about.
|
|
2
|
+
|
|
3
|
+
A service may add a union member or an event after the client was generated.
|
|
4
|
+
Smithy asks clients not to fail on those, so deserialization returns one of
|
|
5
|
+
these instead of raising.
|
|
6
|
+
|
|
7
|
+
Both are one more variant of the union, keyed by ``$unknown``: a Smithy member
|
|
8
|
+
name can't contain ``$``, so the key never collides with a real member, and
|
|
9
|
+
``"$unknown" in value`` narrows like any other variant check.
|
|
10
|
+
"""
|
|
11
|
+
|
|
12
|
+
from __future__ import annotations
|
|
13
|
+
|
|
14
|
+
from typing_extensions import TypedDict
|
|
15
|
+
|
|
16
|
+
from .._protocol.eventstream import Message
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
class UnknownUnionMemberValue(TypedDict, closed=True):
|
|
20
|
+
"""What is known about a union variant this client has no member for."""
|
|
21
|
+
|
|
22
|
+
name: str
|
|
23
|
+
"""The variant's name on the wire."""
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
class UnknownEventValue(TypedDict, closed=True):
|
|
27
|
+
"""What is known about an event whose ``:event-type`` this client doesn't know."""
|
|
28
|
+
|
|
29
|
+
name: str
|
|
30
|
+
"""The event's ``:event-type`` header."""
|
|
31
|
+
|
|
32
|
+
message: Message
|
|
33
|
+
"""The raw message, headers and undecoded payload."""
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
UnknownUnionMember = TypedDict(
|
|
37
|
+
"UnknownUnionMember", {"$unknown": UnknownUnionMemberValue}, closed=True
|
|
38
|
+
)
|
|
39
|
+
"""A union variant the service sent that this client has no member for."""
|
|
40
|
+
|
|
41
|
+
UnknownEvent = TypedDict("UnknownEvent", {"$unknown": UnknownEventValue}, closed=True)
|
|
42
|
+
"""An event-stream event whose ``:event-type`` this client doesn't know."""
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
__all__ = [
|
|
46
|
+
"UnknownEvent",
|
|
47
|
+
"UnknownEventValue",
|
|
48
|
+
"UnknownUnionMember",
|
|
49
|
+
"UnknownUnionMemberValue",
|
|
50
|
+
]
|
{capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/types/field.py
RENAMED
|
@@ -15,46 +15,46 @@ if TYPE_CHECKING:
|
|
|
15
15
|
import capo_redshift_data.types.string
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
class
|
|
18
|
+
class FieldIsNullMember(TypedDict, closed=True):
|
|
19
19
|
isNull: "capo_redshift_data.types.boxed_boolean.BoxedBoolean"
|
|
20
20
|
|
|
21
21
|
|
|
22
|
-
class
|
|
22
|
+
class FieldBooleanValueMember(TypedDict, closed=True):
|
|
23
23
|
booleanValue: "capo_redshift_data.types.boxed_boolean.BoxedBoolean"
|
|
24
24
|
|
|
25
25
|
|
|
26
|
-
class
|
|
26
|
+
class FieldLongValueMember(TypedDict, closed=True):
|
|
27
27
|
longValue: "capo_redshift_data.types.boxed_long.BoxedLong"
|
|
28
28
|
|
|
29
29
|
|
|
30
|
-
class
|
|
30
|
+
class FieldDoubleValueMember(TypedDict, closed=True):
|
|
31
31
|
doubleValue: "capo_redshift_data.types.boxed_double.BoxedDouble"
|
|
32
32
|
|
|
33
33
|
|
|
34
|
-
class
|
|
34
|
+
class FieldStringValueMember(TypedDict, closed=True):
|
|
35
35
|
stringValue: "capo_redshift_data.types.string.String"
|
|
36
36
|
|
|
37
37
|
|
|
38
|
-
class
|
|
38
|
+
class FieldBlobValueMember(TypedDict, closed=True):
|
|
39
39
|
blobValue: "capo_redshift_data.types.blob.Blob"
|
|
40
40
|
|
|
41
41
|
|
|
42
42
|
Field: TypeAlias = (
|
|
43
|
-
|
|
44
|
-
|
|
|
45
|
-
|
|
|
46
|
-
|
|
|
47
|
-
|
|
|
48
|
-
|
|
|
43
|
+
FieldIsNullMember
|
|
44
|
+
| FieldBooleanValueMember
|
|
45
|
+
| FieldLongValueMember
|
|
46
|
+
| FieldDoubleValueMember
|
|
47
|
+
| FieldStringValueMember
|
|
48
|
+
| FieldBlobValueMember
|
|
49
49
|
| UnknownUnionMember
|
|
50
50
|
)
|
|
51
51
|
|
|
52
52
|
|
|
53
53
|
# --- awsJson1_1 ser/de ---
|
|
54
54
|
def serialize_aws_json_1_1(value: Field) -> dict:
|
|
55
|
-
if
|
|
55
|
+
if "$unknown" in value:
|
|
56
56
|
raise SerializationError(
|
|
57
|
-
f"Field: cannot serialize unknown variant {value
|
|
57
|
+
f"Field: cannot serialize unknown variant {value['$unknown']['name']!r}"
|
|
58
58
|
)
|
|
59
59
|
elif "isNull" in value:
|
|
60
60
|
return {"isNull": value["isNull"]}
|
|
@@ -112,5 +112,5 @@ def deserialize_aws_json_1_1(data: dict) -> Field:
|
|
|
112
112
|
(k for k, v in data.items() if v is not None and k != "__type"), None
|
|
113
113
|
)
|
|
114
114
|
if name is not None:
|
|
115
|
-
return
|
|
115
|
+
return {"$unknown": {"name": name}}
|
|
116
116
|
raise DeserializationError("Field: no recognized variant key")
|
|
@@ -11,18 +11,18 @@ if TYPE_CHECKING:
|
|
|
11
11
|
import capo_redshift_data.types.string
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
class
|
|
14
|
+
class QueryRecordsCSVRecordsMember(TypedDict, closed=True):
|
|
15
15
|
CSVRecords: "capo_redshift_data.types.string.String"
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
QueryRecords: TypeAlias =
|
|
18
|
+
QueryRecords: TypeAlias = QueryRecordsCSVRecordsMember | UnknownUnionMember
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
# --- awsJson1_1 ser/de ---
|
|
22
22
|
def serialize_aws_json_1_1(value: QueryRecords) -> dict:
|
|
23
|
-
if
|
|
23
|
+
if "$unknown" in value:
|
|
24
24
|
raise SerializationError(
|
|
25
|
-
f"QueryRecords: cannot serialize unknown variant {value
|
|
25
|
+
f"QueryRecords: cannot serialize unknown variant {value['$unknown']['name']!r}"
|
|
26
26
|
)
|
|
27
27
|
elif "CSVRecords" in value:
|
|
28
28
|
return {"CSVRecords": value["CSVRecords"]}
|
|
@@ -38,5 +38,5 @@ def deserialize_aws_json_1_1(data: dict) -> QueryRecords:
|
|
|
38
38
|
(k for k, v in data.items() if v is not None and k != "__type"), None
|
|
39
39
|
)
|
|
40
40
|
if name is not None:
|
|
41
|
-
return
|
|
41
|
+
return {"$unknown": {"name": name}}
|
|
42
42
|
raise DeserializationError("QueryRecords: no recognized variant key")
|
{capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0/src/capo_redshift_data.egg-info}/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: capo-redshift-data
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.12.0
|
|
4
4
|
Summary: Typed, async Python SDK for AWS Redshift Data.
|
|
5
5
|
Project-URL: Homepage, https://capo-sdk.dev/
|
|
6
6
|
Project-URL: Documentation, https://capo-sdk.dev/services/redshift-data/
|
|
@@ -21,7 +21,7 @@ Classifier: Typing :: Typed
|
|
|
21
21
|
Requires-Python: >=3.10
|
|
22
22
|
Description-Content-Type: text/markdown
|
|
23
23
|
License-File: LICENSE
|
|
24
|
-
Requires-Dist: zapros>=0.
|
|
24
|
+
Requires-Dist: zapros>=0.23.0
|
|
25
25
|
Provides-Extra: anyio
|
|
26
26
|
Requires-Dist: anyio>=3.0; extra == "anyio"
|
|
27
27
|
Provides-Extra: sso
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
"""Stand-ins for union variants and events this client doesn't know about.
|
|
2
|
-
|
|
3
|
-
A service may add a union member or an event after the client was generated.
|
|
4
|
-
Smithy asks clients not to fail on those, so deserialization returns one of
|
|
5
|
-
these instead of raising.
|
|
6
|
-
"""
|
|
7
|
-
|
|
8
|
-
from __future__ import annotations
|
|
9
|
-
|
|
10
|
-
from dataclasses import dataclass
|
|
11
|
-
|
|
12
|
-
from .._protocol.eventstream import Message
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
@dataclass(frozen=True)
|
|
16
|
-
class UnknownUnionMember:
|
|
17
|
-
"""A union variant the service sent that this client has no member for."""
|
|
18
|
-
|
|
19
|
-
name: str
|
|
20
|
-
"""The variant's name on the wire."""
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
@dataclass(frozen=True)
|
|
24
|
-
class UnknownEvent:
|
|
25
|
-
"""An event-stream event whose ``:event-type`` this client doesn't know."""
|
|
26
|
-
|
|
27
|
-
event_type: str
|
|
28
|
-
"""The event's ``:event-type`` header."""
|
|
29
|
-
|
|
30
|
-
message: Message
|
|
31
|
-
"""The raw message, headers and undecoded payload."""
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
__all__ = ["UnknownEvent", "UnknownUnionMember"]
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/_auth/_identity.py
RENAMED
|
File without changes
|
{capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/_auth/_providers.py
RENAMED
|
File without changes
|
{capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/_auth/_signers.py
RENAMED
|
File without changes
|
{capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/_auth/_sigv4.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/_pagination.py
RENAMED
|
File without changes
|
{capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/_protocol/__init__.py
RENAMED
|
File without changes
|
{capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/_protocol/errors.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/_protocol/xml.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/errors/__init__.py
RENAMED
|
File without changes
|
{capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/errors/_base.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/types/blob.py
RENAMED
|
File without changes
|
{capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/types/bool.py
RENAMED
|
File without changes
|
|
File without changes
|
{capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/types/boxed_double.py
RENAMED
|
File without changes
|
{capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/types/boxed_long.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/types/client_token.py
RENAMED
|
File without changes
|
|
File without changes
|
{capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/types/column_list.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/types/field_list.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/types/integer.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/types/long.py
RENAMED
|
File without changes
|
{capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/types/page_size.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/types/schema_list.py
RENAMED
|
File without changes
|
{capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/types/secret_arn.py
RENAMED
|
File without changes
|
|
File without changes
|
{capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/types/session_data.py
RENAMED
|
File without changes
|
{capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/types/session_list.py
RENAMED
|
File without changes
|
|
File without changes
|
{capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/types/sql_list.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/types/sql_records.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/types/string.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/types/table_list.py
RENAMED
|
File without changes
|
{capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/types/table_member.py
RENAMED
|
File without changes
|
{capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data/types/uuid.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{capo_redshift_data-0.10.0 → capo_redshift_data-0.12.0}/src/capo_redshift_data.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|