boto3-assist 0.36.0__tar.gz → 0.40.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.
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/PKG-INFO +1 -1
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/pyproject.toml +1 -1
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/src/boto3_assist/connection.py +1 -1
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/src/boto3_assist/dynamodb/dynamodb.py +1 -1
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/src/boto3_assist/dynamodb/dynamodb_connection.py +1 -1
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/src/boto3_assist/dynamodb/dynamodb_key.py +9 -4
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/src/boto3_assist/s3/s3.py +2 -2
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/src/boto3_assist/s3/s3_connection.py +1 -1
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/src/boto3_assist/sqs/sqs_connection.py +1 -1
- boto3_assist-0.40.0/src/boto3_assist/version.py +1 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/tests/test_connection_pool.py +8 -8
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/tests/unit/dynamodb_tests/dynamodb_model_base_test.py +3 -3
- boto3_assist-0.36.0/src/boto3_assist/version.py +0 -1
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/.env.docker +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/.env.docker.001 +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/.env.docker.nosql.workbench +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/.env.unittest +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/.gitignore +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/.vscode/launch.json +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/.vscode/settings.json +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/.vscode/tasks.json +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/.windsurf/rules/cascade.yaml +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/CHANGELOG.md +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/LICENSE-EXPLAINED.txt +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/LICENSE.txt +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/README.md +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/aws_regions_with_status.csv +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/aws_regions_with_status.json +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/devops/build.py +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/devops/readme.md +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/docs/design-patterns.md +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/docs/help/dynamodb/001-guide-single-table-design.md +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/docs/help/dynamodb/002-guide-defining-models.md +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/docs/help/dynamodb/003-guide-service-layers.md +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/docs/help/dynamodb/004-guide-testing-with-moto.md +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/docs/help/dynamodb/005-guide-projections-and-reserved-keywords.md +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/docs/help/dynamodb/006-guide-how-dynamodb-stores-data.md +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/docs/help/dynamodb/007-guide-batch-operations.md +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/docs/help/dynamodb/008-guide-transactions.md +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/docs/help/dynamodb/009-guide-conditional-writes.md +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/docs/help/dynamodb/010-guide-update-expressions.md +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/docs/issues/BOTO3_ASSIST_BEFORE_AFTER.md +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/docs/issues/BOTO3_ASSIST_DECIMAL_PATTERN.md +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/docs/issues/BOTO3_ASSIST_IMPLEMENTATION_CHECKLIST.md +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/docs/overview.md +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/docs/roadmap.md +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/docs/tech-debt.md +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/docs/unit-test-patterns.md +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/examples/__init__.py +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/examples/cloudwatch/log_report.py +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/examples/dynamodb/QUICK_REFERENCE_KEY_DEBUGGING.md +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/examples/dynamodb/batch_operations_example.py +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/examples/dynamodb/conditional_writes_example.py +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/examples/dynamodb/debug_keys_example.py +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/examples/dynamodb/decimal_conversion_example.py +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/examples/dynamodb/models/order_item_model.py +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/examples/dynamodb/models/order_model.py +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/examples/dynamodb/models/product_model.py +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/examples/dynamodb/models/user_model.py +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/examples/dynamodb/models/user_post_model.py +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/examples/dynamodb/order_example/main.py +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/examples/dynamodb/order_example/products.json +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/examples/dynamodb/services/order_item_service.py +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/examples/dynamodb/services/order_service.py +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/examples/dynamodb/services/product_service.py +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/examples/dynamodb/services/table_service.py +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/examples/dynamodb/services/user_post_service.py +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/examples/dynamodb/services/user_service.py +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/examples/dynamodb/services/user_service_client_example.py +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/examples/dynamodb/services/user_service_resource_example.py +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/examples/dynamodb/transactions_example.py +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/examples/dynamodb/update_expressions_example.py +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/examples/dynamodb/user_post_example/main.py +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/examples/ec2/regions_report.py +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/module-headers.txt +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/mypy.ini +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/publish_to_pypi.py +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/publish_to_pypi.sh +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/pysetup.py +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/pysetup.sh +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/requirements.dev.txt +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/requirements.txt +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/run-checks.sh +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/run-unit-tests.sh +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/src/boto3_assist/__init__.py +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/src/boto3_assist/aws_config.py +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/src/boto3_assist/aws_lambda/event_info.py +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/src/boto3_assist/aws_lambda/mock_context.py +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/src/boto3_assist/boto3session.py +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/src/boto3_assist/cloudwatch/cloudwatch_connection.py +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/src/boto3_assist/cloudwatch/cloudwatch_connection_tracker.py +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/src/boto3_assist/cloudwatch/cloudwatch_log_connection.py +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/src/boto3_assist/cloudwatch/cloudwatch_logs.py +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/src/boto3_assist/cloudwatch/cloudwatch_query.py +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/src/boto3_assist/cognito/cognito_authorizer.py +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/src/boto3_assist/cognito/cognito_connection.py +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/src/boto3_assist/cognito/cognito_utility.py +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/src/boto3_assist/cognito/jwks_cache.py +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/src/boto3_assist/cognito/user.py +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/src/boto3_assist/connection_pool.py +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/src/boto3_assist/connection_tracker.py +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/src/boto3_assist/dynamodb/__init__.py +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/src/boto3_assist/dynamodb/dynamodb_helpers.py +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/src/boto3_assist/dynamodb/dynamodb_importer.py +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/src/boto3_assist/dynamodb/dynamodb_index.py +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/src/boto3_assist/dynamodb/dynamodb_iservice.py +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/src/boto3_assist/dynamodb/dynamodb_model_base.py +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/src/boto3_assist/dynamodb/dynamodb_model_base_interfaces.py +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/src/boto3_assist/dynamodb/dynamodb_re_indexer.py +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/src/boto3_assist/dynamodb/dynamodb_reindexer.py +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/src/boto3_assist/dynamodb/dynamodb_reserved_words.py +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/src/boto3_assist/dynamodb/dynamodb_reserved_words.txt +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/src/boto3_assist/dynamodb/readme.md +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/src/boto3_assist/dynamodb/troubleshooting.md +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/src/boto3_assist/ec2/ec2_connection.py +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/src/boto3_assist/environment_services/__init__.py +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/src/boto3_assist/environment_services/environment_loader.py +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/src/boto3_assist/environment_services/environment_variables.py +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/src/boto3_assist/erc/__init__.py +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/src/boto3_assist/erc/ecr_connection.py +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/src/boto3_assist/errors/custom_exceptions.py +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/src/boto3_assist/http_status_codes.py +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/src/boto3_assist/models/serializable_model.py +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/src/boto3_assist/role_assumption_mixin.py +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/src/boto3_assist/s3/__init__.py +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/src/boto3_assist/s3/s3_bucket.py +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/src/boto3_assist/s3/s3_event_data.py +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/src/boto3_assist/s3/s3_object.py +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/src/boto3_assist/securityhub/securityhub.py +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/src/boto3_assist/securityhub/securityhub_connection.py +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/src/boto3_assist/session_setup_mixin.py +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/src/boto3_assist/sqs/__init__.py +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/src/boto3_assist/sqs/sqs_queue.py +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/src/boto3_assist/ssm/connection.py +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/src/boto3_assist/ssm/parameter_store/parameter_store.py +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/src/boto3_assist/utilities/datetime_utility.py +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/src/boto3_assist/utilities/decimal_conversion_utility.py +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/src/boto3_assist/utilities/dictionary_utility.py +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/src/boto3_assist/utilities/file_operations.py +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/src/boto3_assist/utilities/http_utility.py +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/src/boto3_assist/utilities/logging_utility.py +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/src/boto3_assist/utilities/numbers_utility.py +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/src/boto3_assist/utilities/serialization_utility.py +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/src/boto3_assist/utilities/string_utility.py +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/tests/__init__.py +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/tests/integration/cross_account_connection_test.py +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/tests/integration/tenant.py +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/tests/integration/tenant_services.py +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/tests/unit/aws_config_test.py +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/tests/unit/common/db_test_helpers.py +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/tests/unit/dynamodb/decimal_backward_compatibility_test.py +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/tests/unit/dynamodb/decimal_conversion_integration_test.py +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/tests/unit/dynamodb/test_dynamodb_key_to_dict.py +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/tests/unit/dynamodb_tests/__init__.py +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/tests/unit/dynamodb_tests/db_models/cms/base.py +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/tests/unit/dynamodb_tests/db_models/cms/content_block.py +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/tests/unit/dynamodb_tests/db_models/cms/page.py +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/tests/unit/dynamodb_tests/db_models/cms/template.py +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/tests/unit/dynamodb_tests/db_models/simple_model.py +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/tests/unit/dynamodb_tests/db_models/task.py +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/tests/unit/dynamodb_tests/db_models/user_model.py +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/tests/unit/dynamodb_tests/db_models/user_required_fields_model.py +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/tests/unit/dynamodb_tests/dynamodb_batch_operations_test.py +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/tests/unit/dynamodb_tests/dynamodb_conditional_test.py +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/tests/unit/dynamodb_tests/dynamodb_fail_if_exists_test.py +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/tests/unit/dynamodb_tests/dynamodb_model_merge_test.py +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/tests/unit/dynamodb_tests/dynamodb_model_projections_test.py +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/tests/unit/dynamodb_tests/dynamodb_model_serializtion_test.py +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/tests/unit/dynamodb_tests/dynamodb_moto_sorting_test.py +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/tests/unit/dynamodb_tests/dynamodb_primary_key_get_test.py +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/tests/unit/dynamodb_tests/dynamodb_primary_key_sort_test.py +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/tests/unit/dynamodb_tests/dynamodb_query_test.py +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/tests/unit/dynamodb_tests/dynamodb_reindex_test.py +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/tests/unit/dynamodb_tests/dynamodb_transactions_test.py +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/tests/unit/dynamodb_tests/dynamodb_update_expressions_test.py +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/tests/unit/examples_test/README.md +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/tests/unit/examples_test/__init__.py +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/tests/unit/examples_test/order_service_test.py +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/tests/unit/examples_test/user_service_test.py +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/tests/unit/lambda_tests/__init__.py +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/tests/unit/lambda_tests/event_info_test.py +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/tests/unit/models_tests/__init__.py +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/tests/unit/models_tests/models/person.py +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/tests/unit/models_tests/models/user.py +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/tests/unit/models_tests/serializable_model_person_test.py +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/tests/unit/models_tests/serializable_model_user_test.py +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/tests/unit/models_tests/serializable_model_wide_test.py +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/tests/unit/parameter_store/__init__.py +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/tests/unit/parameter_store/parameter_store_test.py +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/tests/unit/s3/__init__.py +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/tests/unit/s3/files/test.txt +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/tests/unit/s3/s3_event_data_test.py +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/tests/unit/s3/s3_file_delete_test.py +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/tests/unit/s3/s3_file_upload_test.py +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/tests/unit/session_tests/test_boto3_session_manager.py +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/tests/unit/utilities/__init__.py +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/tests/unit/utilities/case_transformation/files/user_import.json +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/tests/unit/utilities/case_transformation/test_case_transformation.py +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/tests/unit/utilities/decimal_conversion_utility_test.py +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/tests/unit/utilities/serialization_utility_test.py +0 -0
- {boto3_assist-0.36.0 → boto3_assist-0.40.0}/tests/unit/utilities/string_utility_test.py +0 -0
|
@@ -37,7 +37,7 @@ class Connection:
|
|
|
37
37
|
assume_role_chain: Optional[List[str]] = None,
|
|
38
38
|
assume_role_duration_seconds: Optional[int] = 3600,
|
|
39
39
|
config: Optional[Config] = None,
|
|
40
|
-
use_connection_pool: bool =
|
|
40
|
+
use_connection_pool: bool = True,
|
|
41
41
|
) -> None:
|
|
42
42
|
self.__aws_profile = aws_profile
|
|
43
43
|
self.__aws_region = aws_region
|
|
@@ -46,7 +46,7 @@ class DynamoDB(DynamoDBConnection):
|
|
|
46
46
|
assume_role_arn: Optional[str] = None,
|
|
47
47
|
assume_role_chain: Optional[List[str]] = None,
|
|
48
48
|
assume_role_duration_seconds: Optional[int] = 3600,
|
|
49
|
-
use_connection_pool: bool =
|
|
49
|
+
use_connection_pool: bool = True,
|
|
50
50
|
) -> None:
|
|
51
51
|
super().__init__(
|
|
52
52
|
aws_profile=aws_profile,
|
{boto3_assist-0.36.0 → boto3_assist-0.40.0}/src/boto3_assist/dynamodb/dynamodb_connection.py
RENAMED
|
@@ -35,7 +35,7 @@ class DynamoDBConnection(Connection):
|
|
|
35
35
|
assume_role_arn: Optional[str] = None,
|
|
36
36
|
assume_role_chain: Optional[List[str]] = None,
|
|
37
37
|
assume_role_duration_seconds: Optional[int] = 3600,
|
|
38
|
-
use_connection_pool: bool =
|
|
38
|
+
use_connection_pool: bool = True,
|
|
39
39
|
) -> None:
|
|
40
40
|
super().__init__(
|
|
41
41
|
service_name="dynamodb",
|
|
@@ -48,15 +48,15 @@ class DynamoDBKey:
|
|
|
48
48
|
def to_dict(self) -> dict[str, str]:
|
|
49
49
|
"""
|
|
50
50
|
Return a dictionary representation of this key for debugging.
|
|
51
|
-
|
|
51
|
+
|
|
52
52
|
Returns:
|
|
53
53
|
Dictionary with attribute name as key and value as the value.
|
|
54
|
-
|
|
54
|
+
|
|
55
55
|
Example:
|
|
56
56
|
>>> key = DynamoDBKey(attribute_name="pk", value="user#123")
|
|
57
57
|
>>> key.to_dict()
|
|
58
58
|
{'pk': 'user#123'}
|
|
59
|
-
|
|
59
|
+
|
|
60
60
|
>>> # With lambda
|
|
61
61
|
>>> key = DynamoDBKey(attribute_name="pk", value=lambda: "user#456")
|
|
62
62
|
>>> key.to_dict()
|
|
@@ -119,8 +119,13 @@ class DynamoDBKey:
|
|
|
119
119
|
for key, value in key_value_pairs:
|
|
120
120
|
prefix = f"{key}#" if key else ""
|
|
121
121
|
if value is None:
|
|
122
|
-
|
|
122
|
+
# when it's None we only want to add it under certain conditions
|
|
123
|
+
# only add if it's the first one for our sk setting
|
|
124
|
+
if len(parts) == 0:
|
|
125
|
+
parts.append(f"{prefix}")
|
|
126
|
+
# exit after the first None
|
|
123
127
|
break
|
|
128
|
+
|
|
124
129
|
elif len(str(value).strip()) == 0:
|
|
125
130
|
parts.append(f"{key}")
|
|
126
131
|
else:
|
|
@@ -26,7 +26,7 @@ class S3(S3Connection):
|
|
|
26
26
|
aws_end_point_url: Optional[str] = None,
|
|
27
27
|
aws_access_key_id: Optional[str] = None,
|
|
28
28
|
aws_secret_access_key: Optional[str] = None,
|
|
29
|
-
use_connection_pool: bool =
|
|
29
|
+
use_connection_pool: bool = True,
|
|
30
30
|
) -> None:
|
|
31
31
|
"""_summary_
|
|
32
32
|
|
|
@@ -36,7 +36,7 @@ class S3(S3Connection):
|
|
|
36
36
|
aws_end_point_url (Optional[str], optional): _description_. Defaults to None.
|
|
37
37
|
aws_access_key_id (Optional[str], optional): _description_. Defaults to None.
|
|
38
38
|
aws_secret_access_key (Optional[str], optional): _description_. Defaults to None.
|
|
39
|
-
use_connection_pool (bool, optional): Use connection pooling. Defaults to
|
|
39
|
+
use_connection_pool (bool, optional): Use connection pooling. Defaults to True.
|
|
40
40
|
"""
|
|
41
41
|
super().__init__(
|
|
42
42
|
aws_profile=aws_profile,
|
|
@@ -35,7 +35,7 @@ class S3Connection(Connection):
|
|
|
35
35
|
aws_access_key_id: Optional[str] = None,
|
|
36
36
|
aws_secret_access_key: Optional[str] = None,
|
|
37
37
|
signature_version: Optional[str] = None,
|
|
38
|
-
use_connection_pool: bool =
|
|
38
|
+
use_connection_pool: bool = True,
|
|
39
39
|
) -> None:
|
|
40
40
|
# Build S3-specific config if signature_version is specified
|
|
41
41
|
config: Optional[Config] = None
|
|
@@ -33,7 +33,7 @@ class SQSConnection(Connection):
|
|
|
33
33
|
aws_end_point_url: Optional[str] = None,
|
|
34
34
|
aws_access_key_id: Optional[str] = None,
|
|
35
35
|
aws_secret_access_key: Optional[str] = None,
|
|
36
|
-
use_connection_pool: bool =
|
|
36
|
+
use_connection_pool: bool = True,
|
|
37
37
|
) -> None:
|
|
38
38
|
"""
|
|
39
39
|
Initialize SQS connection.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "0.40.0"
|
|
@@ -122,8 +122,8 @@ class TestConnectionWithPool:
|
|
|
122
122
|
with warnings.catch_warnings(record=True) as w:
|
|
123
123
|
warnings.simplefilter("always")
|
|
124
124
|
|
|
125
|
-
conn1 = Connection(service_name="dynamodb")
|
|
126
|
-
conn2 = Connection(service_name="dynamodb")
|
|
125
|
+
conn1 = Connection(service_name="dynamodb", use_connection_pool=False)
|
|
126
|
+
conn2 = Connection(service_name="dynamodb", use_connection_pool=False)
|
|
127
127
|
|
|
128
128
|
# Should see deprecation warnings
|
|
129
129
|
assert len(w) == 2
|
|
@@ -179,8 +179,8 @@ class TestDynamoDBWithPool:
|
|
|
179
179
|
with warnings.catch_warnings(record=True) as w:
|
|
180
180
|
warnings.simplefilter("always")
|
|
181
181
|
|
|
182
|
-
db1 = DynamoDB()
|
|
183
|
-
db2 = DynamoDB()
|
|
182
|
+
db1 = DynamoDB(use_connection_pool=False)
|
|
183
|
+
db2 = DynamoDB(use_connection_pool=False)
|
|
184
184
|
|
|
185
185
|
# Should see deprecation warnings
|
|
186
186
|
assert len(w) == 2
|
|
@@ -266,8 +266,8 @@ class TestS3WithPool:
|
|
|
266
266
|
with warnings.catch_warnings(record=True) as w:
|
|
267
267
|
warnings.simplefilter("always")
|
|
268
268
|
|
|
269
|
-
s3_1 = S3()
|
|
270
|
-
s3_2 = S3()
|
|
269
|
+
s3_1 = S3(use_connection_pool=False)
|
|
270
|
+
s3_2 = S3(use_connection_pool=False)
|
|
271
271
|
|
|
272
272
|
# Should see deprecation warnings
|
|
273
273
|
assert len(w) == 2
|
|
@@ -312,8 +312,8 @@ class TestSQSWithPool:
|
|
|
312
312
|
with warnings.catch_warnings(record=True) as w:
|
|
313
313
|
warnings.simplefilter("always")
|
|
314
314
|
|
|
315
|
-
sqs1 = SQSConnection()
|
|
316
|
-
sqs2 = SQSConnection()
|
|
315
|
+
sqs1 = SQSConnection(use_connection_pool=False)
|
|
316
|
+
sqs2 = SQSConnection(use_connection_pool=False)
|
|
317
317
|
|
|
318
318
|
# Should see deprecation warnings
|
|
319
319
|
assert len(w) == 2
|
{boto3_assist-0.36.0 → boto3_assist-0.40.0}/tests/unit/dynamodb_tests/dynamodb_model_base_test.py
RENAMED
|
@@ -112,7 +112,7 @@ class DynamoDBModelUnitTest(unittest.TestCase):
|
|
|
112
112
|
|
|
113
113
|
key_1: Dict = keys[1].get("key")
|
|
114
114
|
self.assertEqual(key_1.get("name"), "gsi3_sk")
|
|
115
|
-
self.assertEqual(key_1.get("key"), "firstname#John
|
|
115
|
+
self.assertEqual(key_1.get("key"), "firstname#John")
|
|
116
116
|
|
|
117
117
|
resource = user.to_resource_dictionary()
|
|
118
118
|
self.assertIsNotNone(resource)
|
|
@@ -159,7 +159,7 @@ class DynamoDBModelUnitTest(unittest.TestCase):
|
|
|
159
159
|
self.assertEqual(keys[3].partition_key.attribute_name, "gsi3_pk")
|
|
160
160
|
self.assertEqual(keys[3].partition_key.value, "users#")
|
|
161
161
|
self.assertEqual(keys[3].sort_key.attribute_name, "gsi3_sk")
|
|
162
|
-
self.assertEqual(keys[3].sort_key.value, "firstname#John
|
|
162
|
+
self.assertEqual(keys[3].sort_key.value, "firstname#John")
|
|
163
163
|
|
|
164
164
|
print("stop")
|
|
165
165
|
|
|
@@ -224,6 +224,6 @@ class DynamoDBModelUnitTest(unittest.TestCase):
|
|
|
224
224
|
self.assertEqual(dictionary.get("gsi2_sk"), "lastname#")
|
|
225
225
|
|
|
226
226
|
self.assertEqual(dictionary.get("gsi3_pk"), "users#")
|
|
227
|
-
self.assertEqual(dictionary.get("gsi3_sk"), "firstname#John
|
|
227
|
+
self.assertEqual(dictionary.get("gsi3_sk"), "firstname#John")
|
|
228
228
|
|
|
229
229
|
print("stop")
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "0.36.0"
|
|
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
|
{boto3_assist-0.36.0 → boto3_assist-0.40.0}/docs/help/dynamodb/001-guide-single-table-design.md
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{boto3_assist-0.36.0 → boto3_assist-0.40.0}/docs/help/dynamodb/004-guide-testing-with-moto.md
RENAMED
|
File without changes
|
|
File without changes
|
{boto3_assist-0.36.0 → boto3_assist-0.40.0}/docs/help/dynamodb/006-guide-how-dynamodb-stores-data.md
RENAMED
|
File without changes
|
{boto3_assist-0.36.0 → boto3_assist-0.40.0}/docs/help/dynamodb/007-guide-batch-operations.md
RENAMED
|
File without changes
|
|
File without changes
|
{boto3_assist-0.36.0 → boto3_assist-0.40.0}/docs/help/dynamodb/009-guide-conditional-writes.md
RENAMED
|
File without changes
|
{boto3_assist-0.36.0 → boto3_assist-0.40.0}/docs/help/dynamodb/010-guide-update-expressions.md
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{boto3_assist-0.36.0 → boto3_assist-0.40.0}/docs/issues/BOTO3_ASSIST_IMPLEMENTATION_CHECKLIST.md
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{boto3_assist-0.36.0 → boto3_assist-0.40.0}/examples/dynamodb/QUICK_REFERENCE_KEY_DEBUGGING.md
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
|
{boto3_assist-0.36.0 → boto3_assist-0.40.0}/examples/dynamodb/services/order_item_service.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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{boto3_assist-0.36.0 → boto3_assist-0.40.0}/src/boto3_assist/cloudwatch/cloudwatch_connection.py
RENAMED
|
File without changes
|
|
File without changes
|
{boto3_assist-0.36.0 → boto3_assist-0.40.0}/src/boto3_assist/cloudwatch/cloudwatch_log_connection.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
|
{boto3_assist-0.36.0 → boto3_assist-0.40.0}/src/boto3_assist/dynamodb/dynamodb_model_base.py
RENAMED
|
File without changes
|
|
File without changes
|
{boto3_assist-0.36.0 → boto3_assist-0.40.0}/src/boto3_assist/dynamodb/dynamodb_re_indexer.py
RENAMED
|
File without changes
|
|
File without changes
|
{boto3_assist-0.36.0 → boto3_assist-0.40.0}/src/boto3_assist/dynamodb/dynamodb_reserved_words.py
RENAMED
|
File without changes
|
{boto3_assist-0.36.0 → boto3_assist-0.40.0}/src/boto3_assist/dynamodb/dynamodb_reserved_words.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{boto3_assist-0.36.0 → boto3_assist-0.40.0}/src/boto3_assist/environment_services/__init__.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
|
{boto3_assist-0.36.0 → boto3_assist-0.40.0}/src/boto3_assist/securityhub/securityhub_connection.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{boto3_assist-0.36.0 → boto3_assist-0.40.0}/src/boto3_assist/ssm/parameter_store/parameter_store.py
RENAMED
|
File without changes
|
|
File without changes
|
{boto3_assist-0.36.0 → boto3_assist-0.40.0}/src/boto3_assist/utilities/decimal_conversion_utility.py
RENAMED
|
File without changes
|
{boto3_assist-0.36.0 → boto3_assist-0.40.0}/src/boto3_assist/utilities/dictionary_utility.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{boto3_assist-0.36.0 → boto3_assist-0.40.0}/src/boto3_assist/utilities/serialization_utility.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{boto3_assist-0.36.0 → boto3_assist-0.40.0}/tests/integration/cross_account_connection_test.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{boto3_assist-0.36.0 → boto3_assist-0.40.0}/tests/unit/dynamodb/test_dynamodb_key_to_dict.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{boto3_assist-0.36.0 → boto3_assist-0.40.0}/tests/unit/dynamodb_tests/db_models/cms/content_block.py
RENAMED
|
File without changes
|
|
File without changes
|
{boto3_assist-0.36.0 → boto3_assist-0.40.0}/tests/unit/dynamodb_tests/db_models/cms/template.py
RENAMED
|
File without changes
|
{boto3_assist-0.36.0 → boto3_assist-0.40.0}/tests/unit/dynamodb_tests/db_models/simple_model.py
RENAMED
|
File without changes
|
|
File without changes
|
{boto3_assist-0.36.0 → boto3_assist-0.40.0}/tests/unit/dynamodb_tests/db_models/user_model.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{boto3_assist-0.36.0 → boto3_assist-0.40.0}/tests/unit/dynamodb_tests/dynamodb_conditional_test.py
RENAMED
|
File without changes
|
|
File without changes
|
{boto3_assist-0.36.0 → boto3_assist-0.40.0}/tests/unit/dynamodb_tests/dynamodb_model_merge_test.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{boto3_assist-0.36.0 → boto3_assist-0.40.0}/tests/unit/dynamodb_tests/dynamodb_moto_sorting_test.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{boto3_assist-0.36.0 → boto3_assist-0.40.0}/tests/unit/dynamodb_tests/dynamodb_query_test.py
RENAMED
|
File without changes
|
{boto3_assist-0.36.0 → boto3_assist-0.40.0}/tests/unit/dynamodb_tests/dynamodb_reindex_test.py
RENAMED
|
File without changes
|
{boto3_assist-0.36.0 → boto3_assist-0.40.0}/tests/unit/dynamodb_tests/dynamodb_transactions_test.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
|
{boto3_assist-0.36.0 → boto3_assist-0.40.0}/tests/unit/models_tests/serializable_model_user_test.py
RENAMED
|
File without changes
|
{boto3_assist-0.36.0 → boto3_assist-0.40.0}/tests/unit/models_tests/serializable_model_wide_test.py
RENAMED
|
File without changes
|
|
File without changes
|
{boto3_assist-0.36.0 → boto3_assist-0.40.0}/tests/unit/parameter_store/parameter_store_test.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{boto3_assist-0.36.0 → boto3_assist-0.40.0}/tests/unit/session_tests/test_boto3_session_manager.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{boto3_assist-0.36.0 → boto3_assist-0.40.0}/tests/unit/utilities/decimal_conversion_utility_test.py
RENAMED
|
File without changes
|
{boto3_assist-0.36.0 → boto3_assist-0.40.0}/tests/unit/utilities/serialization_utility_test.py
RENAMED
|
File without changes
|
|
File without changes
|