google-cloud-spanner 3.50.0__tar.gz → 3.50.1__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.
- {google_cloud_spanner-3.50.0/google_cloud_spanner.egg-info → google_cloud_spanner-3.50.1}/PKG-INFO +1 -1
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/google/cloud/spanner_admin_database_v1/gapic_version.py +1 -1
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/google/cloud/spanner_admin_instance_v1/gapic_version.py +1 -1
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/google/cloud/spanner_v1/data_types.py +15 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/google/cloud/spanner_v1/gapic_version.py +1 -1
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1/google_cloud_spanner.egg-info}/PKG-INFO +1 -1
- google_cloud_spanner-3.50.1/tests/unit/test_datatypes.py +98 -0
- google_cloud_spanner-3.50.0/tests/unit/test_datatypes.py +0 -45
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/LICENSE +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/MANIFEST.in +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/README.rst +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/google/cloud/spanner.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/google/cloud/spanner_admin_database_v1/__init__.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/google/cloud/spanner_admin_database_v1/gapic_metadata.json +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/google/cloud/spanner_admin_database_v1/py.typed +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/google/cloud/spanner_admin_database_v1/services/__init__.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/google/cloud/spanner_admin_database_v1/services/database_admin/__init__.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/google/cloud/spanner_admin_database_v1/services/database_admin/async_client.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/google/cloud/spanner_admin_database_v1/services/database_admin/client.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/google/cloud/spanner_admin_database_v1/services/database_admin/pagers.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/google/cloud/spanner_admin_database_v1/services/database_admin/transports/__init__.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/google/cloud/spanner_admin_database_v1/services/database_admin/transports/base.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/google/cloud/spanner_admin_database_v1/services/database_admin/transports/grpc.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/google/cloud/spanner_admin_database_v1/services/database_admin/transports/grpc_asyncio.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/google/cloud/spanner_admin_database_v1/services/database_admin/transports/rest.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/google/cloud/spanner_admin_database_v1/services/database_admin/transports/rest_base.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/google/cloud/spanner_admin_database_v1/types/__init__.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/google/cloud/spanner_admin_database_v1/types/backup.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/google/cloud/spanner_admin_database_v1/types/backup_schedule.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/google/cloud/spanner_admin_database_v1/types/common.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/google/cloud/spanner_admin_database_v1/types/spanner_database_admin.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/google/cloud/spanner_admin_instance_v1/__init__.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/google/cloud/spanner_admin_instance_v1/gapic_metadata.json +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/google/cloud/spanner_admin_instance_v1/py.typed +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/google/cloud/spanner_admin_instance_v1/services/__init__.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/google/cloud/spanner_admin_instance_v1/services/instance_admin/__init__.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/google/cloud/spanner_admin_instance_v1/services/instance_admin/async_client.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/google/cloud/spanner_admin_instance_v1/services/instance_admin/client.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/google/cloud/spanner_admin_instance_v1/services/instance_admin/pagers.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/google/cloud/spanner_admin_instance_v1/services/instance_admin/transports/__init__.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/google/cloud/spanner_admin_instance_v1/services/instance_admin/transports/base.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/google/cloud/spanner_admin_instance_v1/services/instance_admin/transports/grpc.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/google/cloud/spanner_admin_instance_v1/services/instance_admin/transports/grpc_asyncio.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/google/cloud/spanner_admin_instance_v1/services/instance_admin/transports/rest.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/google/cloud/spanner_admin_instance_v1/services/instance_admin/transports/rest_base.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/google/cloud/spanner_admin_instance_v1/types/__init__.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/google/cloud/spanner_admin_instance_v1/types/common.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/google/cloud/spanner_admin_instance_v1/types/spanner_instance_admin.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/google/cloud/spanner_dbapi/__init__.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/google/cloud/spanner_dbapi/_helpers.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/google/cloud/spanner_dbapi/batch_dml_executor.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/google/cloud/spanner_dbapi/checksum.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/google/cloud/spanner_dbapi/client_side_statement_executor.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/google/cloud/spanner_dbapi/client_side_statement_parser.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/google/cloud/spanner_dbapi/connection.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/google/cloud/spanner_dbapi/cursor.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/google/cloud/spanner_dbapi/exceptions.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/google/cloud/spanner_dbapi/parse_utils.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/google/cloud/spanner_dbapi/parsed_statement.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/google/cloud/spanner_dbapi/parser.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/google/cloud/spanner_dbapi/partition_helper.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/google/cloud/spanner_dbapi/transaction_helper.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/google/cloud/spanner_dbapi/types.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/google/cloud/spanner_dbapi/utils.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/google/cloud/spanner_dbapi/version.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/google/cloud/spanner_v1/__init__.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/google/cloud/spanner_v1/_helpers.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/google/cloud/spanner_v1/_opentelemetry_tracing.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/google/cloud/spanner_v1/backup.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/google/cloud/spanner_v1/batch.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/google/cloud/spanner_v1/client.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/google/cloud/spanner_v1/database.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/google/cloud/spanner_v1/gapic_metadata.json +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/google/cloud/spanner_v1/instance.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/google/cloud/spanner_v1/keyset.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/google/cloud/spanner_v1/merged_result_set.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/google/cloud/spanner_v1/param_types.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/google/cloud/spanner_v1/pool.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/google/cloud/spanner_v1/py.typed +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/google/cloud/spanner_v1/services/__init__.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/google/cloud/spanner_v1/services/spanner/__init__.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/google/cloud/spanner_v1/services/spanner/async_client.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/google/cloud/spanner_v1/services/spanner/client.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/google/cloud/spanner_v1/services/spanner/pagers.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/google/cloud/spanner_v1/services/spanner/transports/__init__.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/google/cloud/spanner_v1/services/spanner/transports/base.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/google/cloud/spanner_v1/services/spanner/transports/grpc.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/google/cloud/spanner_v1/services/spanner/transports/grpc_asyncio.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/google/cloud/spanner_v1/services/spanner/transports/rest.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/google/cloud/spanner_v1/services/spanner/transports/rest_base.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/google/cloud/spanner_v1/session.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/google/cloud/spanner_v1/snapshot.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/google/cloud/spanner_v1/streamed.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/google/cloud/spanner_v1/table.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/google/cloud/spanner_v1/testing/database_test.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/google/cloud/spanner_v1/testing/interceptors.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/google/cloud/spanner_v1/transaction.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/google/cloud/spanner_v1/types/__init__.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/google/cloud/spanner_v1/types/commit_response.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/google/cloud/spanner_v1/types/keys.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/google/cloud/spanner_v1/types/mutation.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/google/cloud/spanner_v1/types/query_plan.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/google/cloud/spanner_v1/types/result_set.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/google/cloud/spanner_v1/types/spanner.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/google/cloud/spanner_v1/types/transaction.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/google/cloud/spanner_v1/types/type.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/google_cloud_spanner.egg-info/SOURCES.txt +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/google_cloud_spanner.egg-info/dependency_links.txt +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/google_cloud_spanner.egg-info/not-zip-safe +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/google_cloud_spanner.egg-info/requires.txt +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/google_cloud_spanner.egg-info/top_level.txt +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/setup.cfg +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/setup.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/tests/__init__.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/tests/_fixtures.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/tests/_helpers.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/tests/system/__init__.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/tests/system/_helpers.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/tests/system/_sample_data.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/tests/system/conftest.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/tests/system/test_backup_api.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/tests/system/test_database_api.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/tests/system/test_dbapi.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/tests/system/test_instance_api.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/tests/system/test_session_api.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/tests/system/test_streaming_chunking.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/tests/system/test_table_api.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/tests/system/testdata/descriptors.pb +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/tests/system/testdata/singer.proto +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/tests/system/testdata/singer_pb2.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/tests/system/utils/__init__.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/tests/system/utils/clear_streaming.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/tests/system/utils/populate_streaming.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/tests/system/utils/scrub_instances.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/tests/system/utils/streaming_utils.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/tests/unit/__init__.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/tests/unit/gapic/__init__.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/tests/unit/gapic/spanner_admin_database_v1/__init__.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/tests/unit/gapic/spanner_admin_database_v1/test_database_admin.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/tests/unit/gapic/spanner_admin_instance_v1/__init__.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/tests/unit/gapic/spanner_admin_instance_v1/test_instance_admin.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/tests/unit/gapic/spanner_v1/__init__.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/tests/unit/gapic/spanner_v1/test_spanner.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/tests/unit/spanner_dbapi/__init__.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/tests/unit/spanner_dbapi/test__helpers.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/tests/unit/spanner_dbapi/test_batch_dml_executor.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/tests/unit/spanner_dbapi/test_checksum.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/tests/unit/spanner_dbapi/test_connect.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/tests/unit/spanner_dbapi/test_connection.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/tests/unit/spanner_dbapi/test_cursor.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/tests/unit/spanner_dbapi/test_globals.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/tests/unit/spanner_dbapi/test_parse_utils.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/tests/unit/spanner_dbapi/test_parser.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/tests/unit/spanner_dbapi/test_transaction_helper.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/tests/unit/spanner_dbapi/test_types.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/tests/unit/spanner_dbapi/test_utils.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/tests/unit/streaming-read-acceptance-test.json +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/tests/unit/test__helpers.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/tests/unit/test__opentelemetry_tracing.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/tests/unit/test_backup.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/tests/unit/test_batch.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/tests/unit/test_client.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/tests/unit/test_database.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/tests/unit/test_instance.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/tests/unit/test_keyset.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/tests/unit/test_packaging.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/tests/unit/test_param_types.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/tests/unit/test_pool.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/tests/unit/test_session.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/tests/unit/test_snapshot.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/tests/unit/test_spanner.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/tests/unit/test_streamed.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/tests/unit/test_table.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/tests/unit/test_transaction.py +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/tests/unit/testdata/singer.proto +0 -0
- {google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/tests/unit/testdata/singer_pb2.py +0 -0
{google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/google/cloud/spanner_v1/data_types.py
RENAMED
|
@@ -31,6 +31,7 @@ class JsonObject(dict):
|
|
|
31
31
|
def __init__(self, *args, **kwargs):
|
|
32
32
|
self._is_null = (args, kwargs) == ((), {}) or args == (None,)
|
|
33
33
|
self._is_array = len(args) and isinstance(args[0], (list, tuple))
|
|
34
|
+
self._is_scalar_value = len(args) == 1 and not isinstance(args[0], (list, dict))
|
|
34
35
|
|
|
35
36
|
# if the JSON object is represented with an array,
|
|
36
37
|
# the value is contained separately
|
|
@@ -38,10 +39,18 @@ class JsonObject(dict):
|
|
|
38
39
|
self._array_value = args[0]
|
|
39
40
|
return
|
|
40
41
|
|
|
42
|
+
# If it's a scalar value, set _simple_value and return early
|
|
43
|
+
if self._is_scalar_value:
|
|
44
|
+
self._simple_value = args[0]
|
|
45
|
+
return
|
|
46
|
+
|
|
41
47
|
if len(args) and isinstance(args[0], JsonObject):
|
|
42
48
|
self._is_array = args[0]._is_array
|
|
49
|
+
self._is_scalar_value = args[0]._is_scalar_value
|
|
43
50
|
if self._is_array:
|
|
44
51
|
self._array_value = args[0]._array_value
|
|
52
|
+
elif self._is_scalar_value:
|
|
53
|
+
self._simple_value = args[0]._simple_value
|
|
45
54
|
|
|
46
55
|
if not self._is_null:
|
|
47
56
|
super(JsonObject, self).__init__(*args, **kwargs)
|
|
@@ -50,6 +59,9 @@ class JsonObject(dict):
|
|
|
50
59
|
if self._is_array:
|
|
51
60
|
return str(self._array_value)
|
|
52
61
|
|
|
62
|
+
if self._is_scalar_value:
|
|
63
|
+
return str(self._simple_value)
|
|
64
|
+
|
|
53
65
|
return super(JsonObject, self).__repr__()
|
|
54
66
|
|
|
55
67
|
@classmethod
|
|
@@ -76,6 +88,9 @@ class JsonObject(dict):
|
|
|
76
88
|
if self._is_null:
|
|
77
89
|
return None
|
|
78
90
|
|
|
91
|
+
if self._is_scalar_value:
|
|
92
|
+
return json.dumps(self._simple_value)
|
|
93
|
+
|
|
79
94
|
if self._is_array:
|
|
80
95
|
return json.dumps(self._array_value, sort_keys=True, separators=(",", ":"))
|
|
81
96
|
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
# Copyright 2024 Google LLC All rights reserved.
|
|
2
|
+
#
|
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
# you may not use this file except in compliance with the License.
|
|
5
|
+
# You may obtain a copy of the License at
|
|
6
|
+
#
|
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
#
|
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
# See the License for the specific language governing permissions and
|
|
13
|
+
# limitations under the License.
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
import unittest
|
|
17
|
+
|
|
18
|
+
import json
|
|
19
|
+
from google.cloud.spanner_v1.data_types import JsonObject
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
class Test_JsonObject_serde(unittest.TestCase):
|
|
23
|
+
def test_w_dict(self):
|
|
24
|
+
data = {"foo": "bar"}
|
|
25
|
+
expected = json.dumps(data, sort_keys=True, separators=(",", ":"))
|
|
26
|
+
data_jsonobject = JsonObject(data)
|
|
27
|
+
self.assertEqual(data_jsonobject.serialize(), expected)
|
|
28
|
+
|
|
29
|
+
def test_w_list_of_dict(self):
|
|
30
|
+
data = [{"foo1": "bar1"}, {"foo2": "bar2"}]
|
|
31
|
+
expected = json.dumps(data, sort_keys=True, separators=(",", ":"))
|
|
32
|
+
data_jsonobject = JsonObject(data)
|
|
33
|
+
self.assertEqual(data_jsonobject.serialize(), expected)
|
|
34
|
+
|
|
35
|
+
def test_w_JsonObject_of_dict(self):
|
|
36
|
+
data = {"foo": "bar"}
|
|
37
|
+
expected = json.dumps(data, sort_keys=True, separators=(",", ":"))
|
|
38
|
+
data_jsonobject = JsonObject(JsonObject(data))
|
|
39
|
+
self.assertEqual(data_jsonobject.serialize(), expected)
|
|
40
|
+
|
|
41
|
+
def test_w_JsonObject_of_list_of_dict(self):
|
|
42
|
+
data = [{"foo1": "bar1"}, {"foo2": "bar2"}]
|
|
43
|
+
expected = json.dumps(data, sort_keys=True, separators=(",", ":"))
|
|
44
|
+
data_jsonobject = JsonObject(JsonObject(data))
|
|
45
|
+
self.assertEqual(data_jsonobject.serialize(), expected)
|
|
46
|
+
|
|
47
|
+
def test_w_simple_float_JsonData(self):
|
|
48
|
+
data = 1.1
|
|
49
|
+
expected = json.dumps(data)
|
|
50
|
+
data_jsonobject = JsonObject(data)
|
|
51
|
+
self.assertEqual(data_jsonobject.serialize(), expected)
|
|
52
|
+
|
|
53
|
+
def test_w_simple_str_JsonData(self):
|
|
54
|
+
data = "foo"
|
|
55
|
+
expected = json.dumps(data)
|
|
56
|
+
data_jsonobject = JsonObject(data)
|
|
57
|
+
self.assertEqual(data_jsonobject.serialize(), expected)
|
|
58
|
+
|
|
59
|
+
def test_w_empty_str_JsonData(self):
|
|
60
|
+
data = ""
|
|
61
|
+
expected = json.dumps(data)
|
|
62
|
+
data_jsonobject = JsonObject(data)
|
|
63
|
+
self.assertEqual(data_jsonobject.serialize(), expected)
|
|
64
|
+
|
|
65
|
+
def test_w_None_JsonData(self):
|
|
66
|
+
data = None
|
|
67
|
+
data_jsonobject = JsonObject(data)
|
|
68
|
+
self.assertEqual(data_jsonobject.serialize(), None)
|
|
69
|
+
|
|
70
|
+
def test_w_list_of_simple_JsonData(self):
|
|
71
|
+
data = [1.1, "foo"]
|
|
72
|
+
expected = json.dumps(data, sort_keys=True, separators=(",", ":"))
|
|
73
|
+
data_jsonobject = JsonObject(data)
|
|
74
|
+
self.assertEqual(data_jsonobject.serialize(), expected)
|
|
75
|
+
|
|
76
|
+
def test_w_empty_list(self):
|
|
77
|
+
data = []
|
|
78
|
+
expected = json.dumps(data)
|
|
79
|
+
data_jsonobject = JsonObject(data)
|
|
80
|
+
self.assertEqual(data_jsonobject.serialize(), expected)
|
|
81
|
+
|
|
82
|
+
def test_w_empty_dict(self):
|
|
83
|
+
data = [{}]
|
|
84
|
+
expected = json.dumps(data)
|
|
85
|
+
data_jsonobject = JsonObject(data)
|
|
86
|
+
self.assertEqual(data_jsonobject.serialize(), expected)
|
|
87
|
+
|
|
88
|
+
def test_w_JsonObject_of_simple_JsonData(self):
|
|
89
|
+
data = 1.1
|
|
90
|
+
expected = json.dumps(data)
|
|
91
|
+
data_jsonobject = JsonObject(JsonObject(data))
|
|
92
|
+
self.assertEqual(data_jsonobject.serialize(), expected)
|
|
93
|
+
|
|
94
|
+
def test_w_JsonObject_of_list_of_simple_JsonData(self):
|
|
95
|
+
data = [1.1, "foo"]
|
|
96
|
+
expected = json.dumps(data, sort_keys=True, separators=(",", ":"))
|
|
97
|
+
data_jsonobject = JsonObject(JsonObject(data))
|
|
98
|
+
self.assertEqual(data_jsonobject.serialize(), expected)
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
# Copyright 2024 Google LLC All rights reserved.
|
|
2
|
-
#
|
|
3
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
-
# you may not use this file except in compliance with the License.
|
|
5
|
-
# You may obtain a copy of the License at
|
|
6
|
-
#
|
|
7
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
-
#
|
|
9
|
-
# Unless required by applicable law or agreed to in writing, software
|
|
10
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
-
# See the License for the specific language governing permissions and
|
|
13
|
-
# limitations under the License.
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
import unittest
|
|
17
|
-
|
|
18
|
-
import json
|
|
19
|
-
from google.cloud.spanner_v1.data_types import JsonObject
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
class Test_JsonObject_serde(unittest.TestCase):
|
|
23
|
-
def test_w_dict(self):
|
|
24
|
-
data = {"foo": "bar"}
|
|
25
|
-
expected = json.dumps(data, sort_keys=True, separators=(",", ":"))
|
|
26
|
-
data_jsonobject = JsonObject(data)
|
|
27
|
-
self.assertEqual(data_jsonobject.serialize(), expected)
|
|
28
|
-
|
|
29
|
-
def test_w_list_of_dict(self):
|
|
30
|
-
data = [{"foo1": "bar1"}, {"foo2": "bar2"}]
|
|
31
|
-
expected = json.dumps(data, sort_keys=True, separators=(",", ":"))
|
|
32
|
-
data_jsonobject = JsonObject(data)
|
|
33
|
-
self.assertEqual(data_jsonobject.serialize(), expected)
|
|
34
|
-
|
|
35
|
-
def test_w_JsonObject_of_dict(self):
|
|
36
|
-
data = {"foo": "bar"}
|
|
37
|
-
expected = json.dumps(data, sort_keys=True, separators=(",", ":"))
|
|
38
|
-
data_jsonobject = JsonObject(JsonObject(data))
|
|
39
|
-
self.assertEqual(data_jsonobject.serialize(), expected)
|
|
40
|
-
|
|
41
|
-
def test_w_JsonObject_of_list_of_dict(self):
|
|
42
|
-
data = [{"foo1": "bar1"}, {"foo2": "bar2"}]
|
|
43
|
-
expected = json.dumps(data, sort_keys=True, separators=(",", ":"))
|
|
44
|
-
data_jsonobject = JsonObject(JsonObject(data))
|
|
45
|
-
self.assertEqual(data_jsonobject.serialize(), expected)
|
|
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
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/google/cloud/spanner_dbapi/__init__.py
RENAMED
|
File without changes
|
{google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/google/cloud/spanner_dbapi/_helpers.py
RENAMED
|
File without changes
|
|
File without changes
|
{google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/google/cloud/spanner_dbapi/checksum.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/google/cloud/spanner_dbapi/connection.py
RENAMED
|
File without changes
|
{google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/google/cloud/spanner_dbapi/cursor.py
RENAMED
|
File without changes
|
{google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/google/cloud/spanner_dbapi/exceptions.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/google/cloud/spanner_dbapi/parser.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/google/cloud/spanner_dbapi/types.py
RENAMED
|
File without changes
|
{google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/google/cloud/spanner_dbapi/utils.py
RENAMED
|
File without changes
|
{google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/google/cloud/spanner_dbapi/version.py
RENAMED
|
File without changes
|
{google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/google/cloud/spanner_v1/__init__.py
RENAMED
|
File without changes
|
{google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/google/cloud/spanner_v1/_helpers.py
RENAMED
|
File without changes
|
|
File without changes
|
{google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/google/cloud/spanner_v1/backup.py
RENAMED
|
File without changes
|
{google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/google/cloud/spanner_v1/batch.py
RENAMED
|
File without changes
|
{google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/google/cloud/spanner_v1/client.py
RENAMED
|
File without changes
|
{google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/google/cloud/spanner_v1/database.py
RENAMED
|
File without changes
|
|
File without changes
|
{google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/google/cloud/spanner_v1/instance.py
RENAMED
|
File without changes
|
{google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/google/cloud/spanner_v1/keyset.py
RENAMED
|
File without changes
|
|
File without changes
|
{google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/google/cloud/spanner_v1/param_types.py
RENAMED
|
File without changes
|
|
File without changes
|
{google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/google/cloud/spanner_v1/py.typed
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
|
{google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/google/cloud/spanner_v1/session.py
RENAMED
|
File without changes
|
{google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/google/cloud/spanner_v1/snapshot.py
RENAMED
|
File without changes
|
{google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/google/cloud/spanner_v1/streamed.py
RENAMED
|
File without changes
|
{google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/google/cloud/spanner_v1/table.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/google/cloud/spanner_v1/transaction.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/google/cloud/spanner_v1/types/keys.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/google/cloud/spanner_v1/types/spanner.py
RENAMED
|
File without changes
|
|
File without changes
|
{google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/google/cloud/spanner_v1/types/type.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
|
{google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/tests/system/test_database_api.py
RENAMED
|
File without changes
|
|
File without changes
|
{google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/tests/system/test_instance_api.py
RENAMED
|
File without changes
|
{google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/tests/system/test_session_api.py
RENAMED
|
File without changes
|
{google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/tests/system/test_streaming_chunking.py
RENAMED
|
File without changes
|
|
File without changes
|
{google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/tests/system/testdata/descriptors.pb
RENAMED
|
File without changes
|
{google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/tests/system/testdata/singer.proto
RENAMED
|
File without changes
|
{google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/tests/system/testdata/singer_pb2.py
RENAMED
|
File without changes
|
|
File without changes
|
{google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/tests/system/utils/clear_streaming.py
RENAMED
|
File without changes
|
{google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/tests/system/utils/populate_streaming.py
RENAMED
|
File without changes
|
{google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/tests/system/utils/scrub_instances.py
RENAMED
|
File without changes
|
{google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/tests/system/utils/streaming_utils.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/tests/unit/gapic/spanner_v1/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/tests/unit/spanner_dbapi/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/tests/unit/spanner_dbapi/test_connect.py
RENAMED
|
File without changes
|
|
File without changes
|
{google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/tests/unit/spanner_dbapi/test_cursor.py
RENAMED
|
File without changes
|
{google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/tests/unit/spanner_dbapi/test_globals.py
RENAMED
|
File without changes
|
|
File without changes
|
{google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/tests/unit/spanner_dbapi/test_parser.py
RENAMED
|
File without changes
|
|
File without changes
|
{google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/tests/unit/spanner_dbapi/test_types.py
RENAMED
|
File without changes
|
{google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/tests/unit/spanner_dbapi/test_utils.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
|
|
File without changes
|
|
File without changes
|
{google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/tests/unit/testdata/singer.proto
RENAMED
|
File without changes
|
{google_cloud_spanner-3.50.0 → google_cloud_spanner-3.50.1}/tests/unit/testdata/singer_pb2.py
RENAMED
|
File without changes
|