velocity-python 0.13.0__tar.gz → 0.13.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.
- {velocity_python-0.13.0 → velocity_python-0.13.1}/PKG-INFO +1 -1
- {velocity_python-0.13.0 → velocity_python-0.13.1}/pyproject.toml +1 -1
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/__init__.py +1 -1
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/aws/ssm_config.py +125 -16
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity_python.egg-info/PKG-INFO +1 -1
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity_python.egg-info/SOURCES.txt +1 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_ssm_config.py +6 -2
- velocity_python-0.13.1/tests/test_ssm_config_prefetch.py +151 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/LICENSE +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/README.md +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/setup.cfg +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/aws/__init__.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/aws/amplify.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/aws/analytics.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/aws/assets/__init__.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/aws/assets/backfill.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/aws/assets/indexing.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/aws/assets/references.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/aws/assets/service.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/aws/assets/usage_index.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/aws/authz.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/aws/blobs.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/aws/capabilities/__init__.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/aws/capabilities/base.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/aws/capabilities/dispatch.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/aws/capabilities/health.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/aws/capabilities/infra.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/aws/capabilities/jobs.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/aws/capabilities/provisioning.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/aws/capabilities/retention.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/aws/capabilities/runtime.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/aws/capabilities/security.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/aws/capabilities/single_session.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/aws/capabilities/workflow.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/aws/deploy/__init__.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/aws/deploy/ci_gate.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/aws/deploy/config.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/aws/deploy/frontend_checks.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/aws/deploy/operations.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/aws/deploy/policies.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/aws/deploy/reconcile.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/aws/deploy/targets.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/aws/dirty_pipeline.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/aws/email.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/aws/facets.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/aws/failures.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/aws/feature_flags.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/aws/handlers/__init__.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/aws/handlers/base_handler.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/aws/handlers/context.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/aws/handlers/context_factory.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/aws/handlers/exceptions.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/aws/handlers/lambda_handler.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/aws/handlers/masquerade.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/aws/handlers/mixins/__init__.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/aws/handlers/mixins/action_names.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/aws/handlers/mixins/analytics_actions.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/aws/handlers/mixins/audit_trail.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/aws/handlers/mixins/client_errors.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/aws/handlers/mixins/client_input.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/aws/handlers/mixins/data_service.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/aws/handlers/mixins/import_actions.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/aws/handlers/mixins/job_handler.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/aws/handlers/mixins/permissions_actions.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/aws/handlers/mixins/row_scoped.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/aws/handlers/mixins/session_control.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/aws/handlers/mixins/tiles_actions.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/aws/handlers/mixins/web_handler.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/aws/handlers/mixins/workflow_actions.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/aws/handlers/perf.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/aws/handlers/request_log.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/aws/handlers/response.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/aws/handlers/sqs_handler.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/aws/identity.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/aws/job_lifecycle.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/aws/job_results.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/aws/mirror.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/aws/ops.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/aws/permissions.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/aws/queue_defaults.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/aws/runtime/__init__.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/aws/runtime/auth_audit.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/aws/runtime/continuation.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/aws/runtime/jobs.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/aws/runtime/limits.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/aws/runtime/queue.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/aws/runtime/queue_actions.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/aws/runtime/security_log.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/aws/runtime/site_time.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/aws/runtime/tick.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/aws/s3.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/aws/scheduler.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/aws/schema.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/aws/settings.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/aws/sms.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/aws/tenancy.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/aws/tests/__init__.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/aws/tests/test_base_handler_error_response.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/aws/tests/test_deploy_least_privilege.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/aws/tests/test_deploy_policies.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/aws/tests/test_deploy_policy_size.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/aws/tests/test_deploy_reconcile.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/aws/tests/test_email.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/aws/tests/test_lambda_handler_json_serialization.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/aws/tests/test_response.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/aws/tests/test_sms.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/aws/tiles.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/aws/user_data.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/aws/validation.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/cache.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/db/__init__.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/db/_pgddl.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/db/audit.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/db/core/__init__.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/db/core/column.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/db/core/database.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/db/core/decorators.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/db/core/engine.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/db/core/jsonproxy.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/db/core/lazy_engine.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/db/core/result.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/db/core/row.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/db/core/sequence.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/db/core/source_policy.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/db/core/table.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/db/core/tenant.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/db/core/transaction.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/db/core/view.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/db/effective.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/db/exceptions.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/db/fragments.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/db/integrity.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/db/lane/__init__.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/db/lane/cli.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/db/lane/connect.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/db/lane/ensure.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/db/lane/ledger.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/db/lane/tenants.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/db/lane/units.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/db/lane/user_data_fold.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/db/maintenance.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/db/migrations.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/db/servers/__init__.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/db/servers/base/__init__.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/db/servers/base/initializer.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/db/servers/base/operators.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/db/servers/base/sql.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/db/servers/base/types.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/db/servers/mysql/__init__.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/db/servers/mysql/operators.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/db/servers/mysql/reserved.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/db/servers/mysql/sql.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/db/servers/mysql/types.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/db/servers/postgres/__init__.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/db/servers/postgres/operators.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/db/servers/postgres/reserved.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/db/servers/postgres/sql.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/db/servers/postgres/types.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/db/servers/sqlite/__init__.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/db/servers/sqlite/operators.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/db/servers/sqlite/reserved.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/db/servers/sqlite/sql.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/db/servers/sqlite/types.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/db/servers/sqlserver/__init__.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/db/servers/sqlserver/operators.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/db/servers/sqlserver/reserved.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/db/servers/sqlserver/sql.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/db/servers/sqlserver/types.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/db/servers/tablehelper.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/db/sync.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/db/tenancy.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/db/tests/__init__.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/db/tests/common_db_test.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/db/tests/postgres/__init__.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/db/tests/postgres/common.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/db/tests/postgres/conftest.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/db/tests/postgres/test_column.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/db/tests/postgres/test_connections.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/db/tests/postgres/test_database.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/db/tests/postgres/test_engine.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/db/tests/postgres/test_general_usage.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/db/tests/postgres/test_imports.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/db/tests/postgres/test_integrity_triggers.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/db/tests/postgres/test_result.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/db/tests/postgres/test_row.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/db/tests/postgres/test_row_comprehensive.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/db/tests/postgres/test_schema_locking.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/db/tests/postgres/test_schema_locking_unit.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/db/tests/postgres/test_sequence.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/db/tests/postgres/test_sql_comprehensive.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/db/tests/postgres/test_table.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/db/tests/postgres/test_table_comprehensive.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/db/tests/postgres/test_tenancy.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/db/tests/postgres/test_transaction.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/db/tests/sql/__init__.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/db/tests/sql/common.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/db/tests/sql/test_postgres_select_advanced.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/db/tests/sql/test_postgres_select_variances.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/db/tests/test_cursor_rowcount_fix.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/db/tests/test_db_utils.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/db/tests/test_postgres.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/db/tests/test_postgres_unchanged.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/db/tests/test_process_error_robustness.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/db/tests/test_result_caching.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/db/tests/test_result_sql_aware.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/db/tests/test_row_get_missing_column.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/db/tests/test_schema_locking_initializers.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/db/tests/test_schema_locking_simple.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/db/tests/test_sql_builder.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/db/tests/test_tablehelper.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/db/tests/test_view_helper.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/db/tunnel.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/db/utils.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/hooks.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/logging.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/metadata/__init__.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/metadata/declarations.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/metadata/merge.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/metadata/validate.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/misc/__init__.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/misc/conv/__init__.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/misc/conv/iconv.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/misc/conv/oconv.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/misc/db.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/misc/export.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/misc/format.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/misc/mail.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/misc/merge.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/misc/pdf.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/misc/qr.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/misc/staged_import/__init__.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/misc/staged_import/batches.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/misc/staged_import/files.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/misc/staged_import/spec.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/misc/tests/__init__.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/misc/tests/test_db.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/misc/tests/test_fix.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/misc/tests/test_format.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/misc/tests/test_iconv.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/misc/tests/test_mail_send.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/misc/tests/test_merge.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/misc/tests/test_oconv.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/misc/tests/test_original_error.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/misc/tests/test_timer.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/misc/timer.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/misc/tools.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/nosql/__init__.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/nosql/core/__init__.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/nosql/core/capabilities.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/nosql/core/store.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/nosql/core/where.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/nosql/exceptions.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/nosql/servers/__init__.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/nosql/servers/base/__init__.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/nosql/servers/cassandra/__init__.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/nosql/servers/cassandra/translation.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/nosql/servers/couchbase/__init__.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/nosql/servers/couchbase/translation.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/nosql/servers/dynamodb/__init__.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/nosql/servers/dynamodb/translation.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/nosql/servers/elasticsearch/__init__.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/nosql/servers/elasticsearch/translation.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/nosql/servers/memory/__init__.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/nosql/servers/mongodb/__init__.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/nosql/servers/mongodb/translation.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/nosql/servers/redis/__init__.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/payment/__init__.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/payment/_mirror_core.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/payment/authorizenet_adapter.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/payment/authorizenet_mirror.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/payment/base_adapter.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/payment/braintree_adapter.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/payment/braintree_mirror.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/payment/charge_rules.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/payment/money.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/payment/plaid_api.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/payment/plaid_webhook.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/payment/redact.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/payment/schema.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/payment/stripe_adapter.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/payment/stripe_mirror.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/rules/__init__.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/rules/engine.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/rules/expressions.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/rules/facts.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/rules/storage.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/testing/__init__.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/testing/fake_db.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/workflow/__init__.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/workflow/access.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/workflow/contract.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/workflow/definitions.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/workflow/designer.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/workflow/engine.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/workflow/hooks.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/workflow/notices.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/workflow/operator.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/workflow/outbox.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/workflow/points.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/workflow/schema.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/workflow/traveler.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/workflow/views.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity_python.egg-info/dependency_links.txt +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity_python.egg-info/entry_points.txt +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity_python.egg-info/requires.txt +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity_python.egg-info/top_level.txt +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_access_error_403.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_action_names.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_activity_tracking_aborted_tx.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_amplify_redirects.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_analytics.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_asset_indexing.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_asset_references.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_assets_service.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_audit_log_confidential.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_audit_mixin.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_audit_registry_table_gate.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_audited_tables.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_authz.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_aws_package_hygiene.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_batch_operations.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_blob_store.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_builder_hardening.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_bulk_identifier_guard.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_business_objects.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_capabilities.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_capabilities_runtime.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_capability_catalog.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_capability_dependencies.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_capability_health_runtime.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_check_changelog.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_ci_gate.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_client_errors_mixin.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_client_input_contract_export.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_client_read_canonical_names.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_client_sql_boundary.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_client_table_gate_case_and_pointers.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_client_write_canonical_keys.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_cognito_client_lazy.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_cognito_user_cache.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_column_tx_arg.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_commit_and_retry_safety.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_concurrency_safety.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_connection_pool.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_connection_resilience.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_context_enqueue_idempotency.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_context_flags_loader.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_context_job_descriptions.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_context_queue_job.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_conv_combine.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_data_service_get_metadata.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_data_service_metadata_views.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_data_service_owner_scope.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_data_service_query_cap.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_data_service_renumber.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_data_service_row_number.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_data_service_save_as.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_data_service_security_gates.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_data_service_sync.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_db_audit_required.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_db_credentials_ssm_cascade.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_db_effective.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_db_error_contract.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_db_integrity.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_db_lane_cli.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_db_lane_ensure.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_db_lane_user_data_fold.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_db_maintenance.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_db_pgddl_triggers.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_db_sync.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_db_tunnel.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_declared_column_types.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_decorators.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_deferred_savepoints.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_delete_hook_fk_blocked.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_deploy_config_fields.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_deploy_engine.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_deploy_frontend_checks.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_deploy_operations_queue.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_deploy_policies.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_dirty_pipeline_consumer.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_dirty_pipeline_fast_path.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_dlq_constant.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_docs_snippets.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_email_processing.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_enqueue_metric_namespace.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_enqueue_send_failures.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_ensure_infrastructure.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_export_formula_injection.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_export_workbook.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_facets.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_facets_and_where.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_failures.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_fake_db_where_guard_parity.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_feature_flags.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_get_cognito_user_provider.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_hooks.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_http_handler_rollback.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_iconv_money_to_cents.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_identifier_injection_guard.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_identity.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_import_actions.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_job_handler.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_job_lifecycle.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_job_record_guard.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_job_record_guard_postgres.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_job_results.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_json_columns.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_jsonb_dict_adapter.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_lambda_handler.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_lambda_handler_auth.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_lambda_handler_disabled_user.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_lambda_handler_masquerade.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_lambda_handler_user_cache.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_lazy_engine.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_masquerade_grant.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_merge_on_conflict.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_metadata.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_metadata_format.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_mirror.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_mirror_upsert_public.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_mixins_import.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_n_plus_one.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_nosql_dynamodb.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_nosql_memory.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_nosql_mongodb.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_nosql_redis.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_nosql_translation.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_nosql_where.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_observability.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_on_action_default.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_on_commit.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_ops.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_payment_audit_fixes.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_payment_authorizenet_adapter.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_payment_braintree_adapter.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_payment_braintree_mirror.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_payment_business_agnostic.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_payment_charge_reference.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_payment_extra_bounds.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_payment_lazy_imports.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_payment_mirror_empty_table.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_payment_profile_sorting.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_payment_stripe_ach.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_payment_stripe_adapter.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_pdf.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_permissions.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_permissions_actions.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_permissions_notices.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_permissions_review.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_pgserver_analytics.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_pgserver_bulk_cache.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_pgserver_capability_types.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_pgserver_client_errors.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_pgserver_ensure_infrastructure.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_pgserver_get_tables.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_pgserver_permissions.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_pgserver_pointer_joins.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_pgserver_row_scope.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_pgserver_search_export.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_pgserver_settings.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_pgserver_staged_import.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_pgserver_sync.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_pgserver_sys_dirty_index.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_pgserver_tiles.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_pgserver_user_data.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_plaid_api.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_plaid_webhook.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_pointer_join_sql.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_postgres_initializer_config.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_postgres_py_type.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_prepared_statements.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_psycopg3_upgrade.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_query_cache.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_query_missing_table_unlocked.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_raw_sql_prefix_policy.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_read_cache.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_readme_imports.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_record_event_postgres.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_record_event_transaction.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_request_log_withheld.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_response.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_restricted_direct_tables.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_result_fetch_errors.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_result_returning.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_retry_side_effect_guard.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_return_default_policy.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_return_default_safety.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_row_batch_nesting.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_row_batch_update.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_row_cache_staleness.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_row_scoped_data_service.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_rules.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_rules_storage.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_runtime_auth_audit.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_runtime_continuation.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_runtime_jobs.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_runtime_limits.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_runtime_queue.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_runtime_queue_actions.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_runtime_queue_defaults.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_runtime_security_log.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_runtime_site_time.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_runtime_tick.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_s3_bucket_config.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_s3_list_client_files.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_s3_upload.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_scheduler.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_schema_lock_config_other_backends.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_schema_migrations.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_search_paging_export.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_security_capability.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_security_events_table_gate.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_security_hardening.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_security_rate_limit_pg.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_server_cursor.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_session_control.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_settings.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_single_autocommit_safety.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_single_session_capability.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_sms_twilio_signature.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_spreadsheet_functions.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_sql_statements_as_built.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_sqlite_backend.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_sqlserver_encrypt_policy.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_sqs_per_record_transactions.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_ssm_config_export_path.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_ssm_config_require.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_staged_import.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_store_user_data.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_sys_dirty_index.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_sys_modified_count_postgres_demo.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_table_alter.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_table_claim.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_table_find_cache.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_table_purge.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_tenancy_enforcement.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_tenancy_handlers.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_tenancy_hardening.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_tenancy_lane.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_tenancy_provisioning.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_tenancy_review3.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_tenancy_scope.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_tenancy_transaction.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_testing_fake_db.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_tiles.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_transaction_class_wrapping.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_transaction_commit_and_ownership.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_transaction_edge_cases.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_tx_lifecycle_retry.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_tx_read_cache_and_bulk.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_unrestricted_where_guard.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_user_data.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_user_not_provisioned.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_v010_async_removed_sqlserver_read_only.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_v010_release_review.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_v011_integration.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_v011_mysql_parity.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_v011_security_final.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_v011_security_recheck.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_v011_security_review.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_v011_sqlite_parity.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_v011_table_rows.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_v011_table_sql.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_v011_tx_pool.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_v011_tx_transaction.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_v011_tx_tunnel.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_validation_override.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_where_clause_validation.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_workflow_actions.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_workflow_contract.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_workflow_definitions.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_workflow_designer.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_workflow_engine.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_workflow_features.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_workflow_operator.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_workflow_postgres.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_workflow_projection.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_workflow_review.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_workflow_traveler.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_workflow_views.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_write_hook_create_flow.py +0 -0
- {velocity_python-0.13.0 → velocity_python-0.13.1}/tests/test_write_hook_empty_strings.py +0 -0
|
@@ -15,7 +15,9 @@ when they can resolve both project and AppStage from the runtime environment.
|
|
|
15
15
|
|
|
16
16
|
On an SSM miss or any other SSM error, ``getenv`` falls back to ``os.environ``.
|
|
17
17
|
Results are cached for the process lifetime so SSM is called at most once per
|
|
18
|
-
key per Lambda cold start
|
|
18
|
+
key per Lambda cold start; a transient AWS failure (throttle, timeout, 5xx) is
|
|
19
|
+
not cached. One client serves the process (``ssm_client``), and ``prefetch``
|
|
20
|
+
fills the cache for many keys in batched ``GetParameters`` calls.
|
|
19
21
|
|
|
20
22
|
Outside Lambda, or when project/AppStage cannot be resolved, ``getenv`` remains a
|
|
21
23
|
thin wrapper around ``os.environ.get`` with no SSM call.
|
|
@@ -157,26 +159,131 @@ def _ssm_parameter_names(key: str) -> list[str]:
|
|
|
157
159
|
return parameter_names
|
|
158
160
|
|
|
159
161
|
|
|
160
|
-
|
|
161
|
-
|
|
162
|
+
# One SSM client per process, with timeouts (AWS-6): a client per key cost a
|
|
163
|
+
# botocore client build on every cold-start read.
|
|
164
|
+
_client = None
|
|
165
|
+
_CONNECT_TIMEOUT = 3
|
|
166
|
+
_READ_TIMEOUT = 5
|
|
167
|
+
# A GetParameters call names at most 10 parameters.
|
|
168
|
+
_BATCH = 10
|
|
169
|
+
# Error codes that mean "not here" (cached as a miss, and the project path
|
|
170
|
+
# falls through to /Global). AccessDenied stays a miss: a role scoped to one
|
|
171
|
+
# path reads the other that way today. Anything else from AWS — a throttle, a
|
|
172
|
+
# 5xx, a timeout — is transient: not cached, no fall-through.
|
|
173
|
+
_MISS_CODES = frozenset(
|
|
174
|
+
{
|
|
175
|
+
"ParameterNotFound",
|
|
176
|
+
"ParameterVersionNotFound",
|
|
177
|
+
"AccessDeniedException",
|
|
178
|
+
"ValidationException",
|
|
179
|
+
}
|
|
180
|
+
)
|
|
181
|
+
# _fetch's answer when a read failed transiently (distinct from a miss).
|
|
182
|
+
_TRANSIENT = object()
|
|
183
|
+
|
|
184
|
+
|
|
185
|
+
def ssm_client():
|
|
186
|
+
"""The process's SSM client (built once, in :func:`get_region`, with
|
|
187
|
+
connect/read timeouts and standard retries)."""
|
|
188
|
+
global _client
|
|
189
|
+
if _client is None:
|
|
190
|
+
import boto3
|
|
191
|
+
from botocore.config import Config
|
|
192
|
+
|
|
193
|
+
_client = boto3.client(
|
|
194
|
+
"ssm",
|
|
195
|
+
region_name=get_region("us-east-1"),
|
|
196
|
+
config=Config(
|
|
197
|
+
connect_timeout=_CONNECT_TIMEOUT,
|
|
198
|
+
read_timeout=_READ_TIMEOUT,
|
|
199
|
+
retries={"max_attempts": 3, "mode": "standard"},
|
|
200
|
+
),
|
|
201
|
+
)
|
|
202
|
+
return _client
|
|
203
|
+
|
|
204
|
+
|
|
205
|
+
def _is_transient(exc: Exception) -> bool:
|
|
206
|
+
try:
|
|
207
|
+
from botocore.exceptions import BotoCoreError, ClientError
|
|
208
|
+
except ImportError: # pragma: no cover - boto3 always brings botocore
|
|
209
|
+
return False
|
|
210
|
+
if isinstance(exc, ClientError):
|
|
211
|
+
code = (getattr(exc, "response", None) or {}).get("Error", {}).get("Code")
|
|
212
|
+
return code not in _MISS_CODES
|
|
213
|
+
return isinstance(exc, BotoCoreError)
|
|
214
|
+
|
|
215
|
+
|
|
216
|
+
def _fetch(key: str):
|
|
217
|
+
"""Resolve one key from project SSM first, then Global fallback: the
|
|
218
|
+
value, None on a miss, or :data:`_TRANSIENT` when AWS failed."""
|
|
162
219
|
parameter_names = _ssm_parameter_names(key)
|
|
163
220
|
if not parameter_names:
|
|
164
221
|
return None
|
|
165
222
|
|
|
166
223
|
try:
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
ssm = boto3.client("ssm", region_name=get_region("us-east-1"))
|
|
170
|
-
for param_name in parameter_names:
|
|
171
|
-
try:
|
|
172
|
-
resp = ssm.get_parameter(Name=param_name, WithDecryption=True)
|
|
173
|
-
return resp["Parameter"]["Value"]
|
|
174
|
-
except Exception as exc:
|
|
175
|
-
logger.debug("SSM miss for %s: %s", param_name, exc)
|
|
176
|
-
return None
|
|
224
|
+
ssm = ssm_client()
|
|
177
225
|
except Exception as exc:
|
|
178
226
|
logger.debug("SSM client failure while resolving %s: %s", key, exc)
|
|
179
227
|
return None
|
|
228
|
+
for param_name in parameter_names:
|
|
229
|
+
try:
|
|
230
|
+
resp = ssm.get_parameter(Name=param_name, WithDecryption=True)
|
|
231
|
+
return resp["Parameter"]["Value"]
|
|
232
|
+
except Exception as exc:
|
|
233
|
+
if _is_transient(exc):
|
|
234
|
+
logger.warning(
|
|
235
|
+
"SSM read of %s failed (%s); not cached",
|
|
236
|
+
param_name,
|
|
237
|
+
type(exc).__name__,
|
|
238
|
+
)
|
|
239
|
+
return _TRANSIENT
|
|
240
|
+
logger.debug("SSM miss for %s: %s", param_name, exc)
|
|
241
|
+
return None
|
|
242
|
+
|
|
243
|
+
|
|
244
|
+
def prefetch(keys) -> list[str]:
|
|
245
|
+
"""Resolve ``keys`` into the cache in batched ``GetParameters`` calls
|
|
246
|
+
(both the project and the ``/Global`` name of each, 10 names a call)
|
|
247
|
+
instead of one or two ``GetParameter`` calls per key.
|
|
248
|
+
|
|
249
|
+
For a cold start that reads many keys: the same answers :func:`getenv`
|
|
250
|
+
would give (project value first, then Global, else a miss), cached the
|
|
251
|
+
same way. All or nothing: any failed call caches nothing, and
|
|
252
|
+
:func:`getenv` then reads key by key as before. Needs
|
|
253
|
+
``ssm:GetParameters`` on those names (velocity's ``ssm_read_statement``
|
|
254
|
+
grants it). Returns the keys found in SSM, sorted; [] when SSM is off.
|
|
255
|
+
"""
|
|
256
|
+
if not _is_enabled():
|
|
257
|
+
return []
|
|
258
|
+
wanted = [k for k in dict.fromkeys(keys) if k not in _cache]
|
|
259
|
+
names = {}
|
|
260
|
+
for key in wanted:
|
|
261
|
+
for rank, name in enumerate(_ssm_parameter_names(key)):
|
|
262
|
+
names[name] = (key, rank)
|
|
263
|
+
if not names:
|
|
264
|
+
return []
|
|
265
|
+
try:
|
|
266
|
+
ssm = ssm_client()
|
|
267
|
+
found = {}
|
|
268
|
+
ordered = list(names)
|
|
269
|
+
for start in range(0, len(ordered), _BATCH):
|
|
270
|
+
resp = ssm.get_parameters(
|
|
271
|
+
Names=ordered[start : start + _BATCH], WithDecryption=True
|
|
272
|
+
)
|
|
273
|
+
for parameter in resp.get("Parameters") or ():
|
|
274
|
+
key, rank = names[parameter["Name"]]
|
|
275
|
+
if key not in found or rank < found[key][0]:
|
|
276
|
+
found[key] = (rank, parameter["Value"])
|
|
277
|
+
except Exception as exc:
|
|
278
|
+
logger.warning(
|
|
279
|
+
"SSM prefetch of %d keys failed (%s); reading key by key",
|
|
280
|
+
len(wanted),
|
|
281
|
+
type(exc).__name__,
|
|
282
|
+
)
|
|
283
|
+
return []
|
|
284
|
+
for key in wanted:
|
|
285
|
+
_cache[key] = found[key][1] if key in found else _MISS
|
|
286
|
+
return sorted(found)
|
|
180
287
|
|
|
181
288
|
|
|
182
289
|
def getenv(
|
|
@@ -205,8 +312,9 @@ def getenv(
|
|
|
205
312
|
if _is_enabled():
|
|
206
313
|
if key not in _cache:
|
|
207
314
|
value = _fetch(key)
|
|
208
|
-
|
|
209
|
-
|
|
315
|
+
if value is not _TRANSIENT:
|
|
316
|
+
_cache[key] = value if value is not None else _MISS
|
|
317
|
+
cached = _cache.get(key, _MISS)
|
|
210
318
|
if cached is not _MISS:
|
|
211
319
|
if raise_on_missing and cached == "":
|
|
212
320
|
raise KeyError(f"{key} not found in SSM or environment")
|
|
@@ -309,5 +417,6 @@ def export_path(
|
|
|
309
417
|
def clear_cache() -> None:
|
|
310
418
|
"""Clear the SSM cache (useful in tests)."""
|
|
311
419
|
_cache.clear()
|
|
312
|
-
global _SSM_ENABLED
|
|
420
|
+
global _SSM_ENABLED, _client
|
|
313
421
|
_SSM_ENABLED = None
|
|
422
|
+
_client = None
|
|
@@ -522,6 +522,7 @@ tests/test_sqlserver_encrypt_policy.py
|
|
|
522
522
|
tests/test_sqs_per_record_transactions.py
|
|
523
523
|
tests/test_ssm_config.py
|
|
524
524
|
tests/test_ssm_config_export_path.py
|
|
525
|
+
tests/test_ssm_config_prefetch.py
|
|
525
526
|
tests/test_ssm_config_require.py
|
|
526
527
|
tests/test_staged_import.py
|
|
527
528
|
tests/test_store_user_data.py
|
|
@@ -59,7 +59,9 @@ def test_getenv_reads_ssm_with_region_aliases(monkeypatch):
|
|
|
59
59
|
with patch("boto3.client", return_value=FakeSSM()) as client_factory:
|
|
60
60
|
assert ssm_config.getenv("StripeSecretKey") == "ssm-secret"
|
|
61
61
|
|
|
62
|
-
client_factory.
|
|
62
|
+
client_factory.assert_called_once()
|
|
63
|
+
assert client_factory.call_args.args == ("ssm",)
|
|
64
|
+
assert client_factory.call_args.kwargs["region_name"] == "us-west-2"
|
|
63
65
|
|
|
64
66
|
|
|
65
67
|
def test_getenv_auto_enables_ssm_in_lambda_with_inferred_project(monkeypatch):
|
|
@@ -80,7 +82,9 @@ def test_getenv_auto_enables_ssm_in_lambda_with_inferred_project(monkeypatch):
|
|
|
80
82
|
with patch("boto3.client", return_value=FakeSSM()) as client_factory:
|
|
81
83
|
assert ssm_config.getenv("DBDatabase") == "ssm-db"
|
|
82
84
|
|
|
83
|
-
client_factory.
|
|
85
|
+
client_factory.assert_called_once()
|
|
86
|
+
assert client_factory.call_args.args == ("ssm",)
|
|
87
|
+
assert client_factory.call_args.kwargs["region_name"] == "us-west-2"
|
|
84
88
|
|
|
85
89
|
|
|
86
90
|
def test_getenv_falls_back_to_global_when_project_key_missing(monkeypatch):
|
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
"""ssm_config: one client per process with timeouts, batched prefetch, and
|
|
2
|
+
transient AWS failures never cached as a miss (audit AWS-6)."""
|
|
3
|
+
|
|
4
|
+
import inspect
|
|
5
|
+
from unittest.mock import patch
|
|
6
|
+
|
|
7
|
+
import boto3
|
|
8
|
+
import pytest
|
|
9
|
+
from botocore.exceptions import ClientError, ReadTimeoutError
|
|
10
|
+
|
|
11
|
+
from velocity.aws import ssm_config
|
|
12
|
+
|
|
13
|
+
REAL = boto3.client("ssm", region_name="us-west-2")
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
def client_error(code):
|
|
17
|
+
return ClientError({"Error": {"Code": code, "Message": code}}, "GetParameter")
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
class FakeSSM:
|
|
21
|
+
"""Binds every call to the real botocore client's signature."""
|
|
22
|
+
|
|
23
|
+
def __init__(self, params=None, fail=None):
|
|
24
|
+
self.params = dict(params or {})
|
|
25
|
+
self.fail = fail
|
|
26
|
+
self.calls = []
|
|
27
|
+
|
|
28
|
+
def get_parameter(self, *args, **kwargs):
|
|
29
|
+
inspect.signature(REAL.get_parameter).bind(*args, **kwargs)
|
|
30
|
+
name = kwargs["Name"]
|
|
31
|
+
self.calls.append(("get_parameter", name))
|
|
32
|
+
if self.fail:
|
|
33
|
+
raise self.fail
|
|
34
|
+
if name not in self.params:
|
|
35
|
+
raise client_error("ParameterNotFound")
|
|
36
|
+
return {"Parameter": {"Name": name, "Value": self.params[name]}}
|
|
37
|
+
|
|
38
|
+
def get_parameters(self, *args, **kwargs):
|
|
39
|
+
inspect.signature(REAL.get_parameters).bind(*args, **kwargs)
|
|
40
|
+
names = kwargs["Names"]
|
|
41
|
+
assert len(names) <= 10
|
|
42
|
+
assert kwargs["WithDecryption"] is True
|
|
43
|
+
self.calls.append(("get_parameters", tuple(names)))
|
|
44
|
+
if self.fail:
|
|
45
|
+
raise self.fail
|
|
46
|
+
return {
|
|
47
|
+
"Parameters": [
|
|
48
|
+
{"Name": n, "Value": self.params[n]} for n in names if n in self.params
|
|
49
|
+
],
|
|
50
|
+
"InvalidParameters": [n for n in names if n not in self.params],
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
@pytest.fixture(autouse=True)
|
|
55
|
+
def lambda_env(monkeypatch):
|
|
56
|
+
ssm_config.clear_cache()
|
|
57
|
+
monkeypatch.setenv("VELOCITY_SSM_ENABLED", "true")
|
|
58
|
+
monkeypatch.setenv("ProjectName", "Site")
|
|
59
|
+
monkeypatch.setenv("AppStage", "demo")
|
|
60
|
+
monkeypatch.setenv("AWS_REGION", "us-west-2")
|
|
61
|
+
for key in ("K0", "DBHost", "DBUser", "Missing"):
|
|
62
|
+
monkeypatch.delenv(key, raising=False)
|
|
63
|
+
yield
|
|
64
|
+
ssm_config.clear_cache()
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
def test_one_client_per_process_with_timeouts():
|
|
68
|
+
fake = FakeSSM({"/Site/demo/DBHost": "h", "/Global/demo/DBUser": "u"})
|
|
69
|
+
with patch("boto3.client", return_value=fake) as factory:
|
|
70
|
+
assert ssm_config.getenv("DBHost") == "h"
|
|
71
|
+
assert ssm_config.getenv("DBUser") == "u"
|
|
72
|
+
factory.assert_called_once()
|
|
73
|
+
config = factory.call_args.kwargs["config"]
|
|
74
|
+
assert config.connect_timeout == ssm_config._CONNECT_TIMEOUT
|
|
75
|
+
assert config.read_timeout == ssm_config._READ_TIMEOUT
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
def test_prefetch_batches_and_matches_getenv_precedence():
|
|
79
|
+
params = {f"/Global/demo/K{i}": f"g{i}" for i in range(12)}
|
|
80
|
+
params["/Site/demo/K0"] = "project-wins"
|
|
81
|
+
fake = FakeSSM(params)
|
|
82
|
+
keys = [f"K{i}" for i in range(12)] + ["Missing"]
|
|
83
|
+
with patch("boto3.client", return_value=fake):
|
|
84
|
+
found = ssm_config.prefetch(keys)
|
|
85
|
+
# 13 keys x 2 names = 26 names -> 3 calls
|
|
86
|
+
assert [c[0] for c in fake.calls] == ["get_parameters"] * 3
|
|
87
|
+
assert found == sorted(f"K{i}" for i in range(12))
|
|
88
|
+
assert ssm_config.getenv("K0") == "project-wins"
|
|
89
|
+
assert ssm_config.getenv("K11") == "g11"
|
|
90
|
+
assert ssm_config.getenv("Missing", "env-default") == "env-default"
|
|
91
|
+
assert len(fake.calls) == 3 # all served from the cache
|
|
92
|
+
assert ssm_config.prefetch(keys) == [] # nothing left to fetch
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
def test_a_failed_prefetch_caches_nothing_and_getenv_reads_key_by_key():
|
|
96
|
+
fake = FakeSSM(
|
|
97
|
+
{"/Site/demo/DBHost": "h"}, fail=client_error("AccessDeniedException")
|
|
98
|
+
)
|
|
99
|
+
with patch("boto3.client", return_value=fake):
|
|
100
|
+
assert ssm_config.prefetch(["DBHost"]) == []
|
|
101
|
+
assert "DBHost" not in ssm_config._cache
|
|
102
|
+
fake.fail = None
|
|
103
|
+
assert ssm_config.getenv("DBHost") == "h"
|
|
104
|
+
assert fake.calls[-1] == ("get_parameter", "/Site/demo/DBHost")
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
def test_prefetch_is_a_no_op_when_ssm_is_off(monkeypatch):
|
|
108
|
+
monkeypatch.setenv("VELOCITY_SSM_ENABLED", "false")
|
|
109
|
+
ssm_config.clear_cache()
|
|
110
|
+
with patch("boto3.client") as factory:
|
|
111
|
+
assert ssm_config.prefetch(["DBHost"]) == []
|
|
112
|
+
factory.assert_not_called()
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
@pytest.mark.parametrize(
|
|
116
|
+
"error",
|
|
117
|
+
[
|
|
118
|
+
client_error("ThrottlingException"),
|
|
119
|
+
client_error("InternalServerError"),
|
|
120
|
+
ReadTimeoutError(endpoint_url="https://ssm.example.com"),
|
|
121
|
+
],
|
|
122
|
+
)
|
|
123
|
+
def test_a_transient_error_is_not_cached_and_never_falls_through(monkeypatch, error):
|
|
124
|
+
monkeypatch.setenv("DBHost", "env-host")
|
|
125
|
+
fake = FakeSSM(
|
|
126
|
+
{"/Site/demo/DBHost": "project", "/Global/demo/DBHost": "global"}, fail=error
|
|
127
|
+
)
|
|
128
|
+
with patch("boto3.client", return_value=fake):
|
|
129
|
+
assert ssm_config.getenv("DBHost") == "env-host"
|
|
130
|
+
assert fake.calls == [("get_parameter", "/Site/demo/DBHost")] # no /Global
|
|
131
|
+
assert "DBHost" not in ssm_config._cache
|
|
132
|
+
fake.fail = None
|
|
133
|
+
assert ssm_config.getenv("DBHost") == "project"
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
def test_not_found_and_access_denied_still_fall_through_and_cache():
|
|
137
|
+
fake = FakeSSM({"/Global/demo/DBUser": "g"})
|
|
138
|
+
with patch("boto3.client", return_value=fake):
|
|
139
|
+
assert ssm_config.getenv("DBUser") == "g"
|
|
140
|
+
assert ssm_config.getenv("Missing") is None
|
|
141
|
+
calls = len(fake.calls)
|
|
142
|
+
assert ssm_config.getenv("Missing") is None
|
|
143
|
+
assert len(fake.calls) == calls # the miss is cached
|
|
144
|
+
ssm_config.clear_cache()
|
|
145
|
+
fake = FakeSSM({}, fail=client_error("AccessDeniedException"))
|
|
146
|
+
with patch("boto3.client", return_value=fake):
|
|
147
|
+
assert ssm_config.getenv("DBUser") is None
|
|
148
|
+
assert [c[1] for c in fake.calls] == [
|
|
149
|
+
"/Site/demo/DBUser",
|
|
150
|
+
"/Global/demo/DBUser",
|
|
151
|
+
]
|
|
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
|
{velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/aws/capabilities/provisioning.py
RENAMED
|
File without changes
|
{velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/aws/capabilities/retention.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/aws/capabilities/single_session.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/aws/deploy/frontend_checks.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
|
{velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/aws/handlers/context_factory.py
RENAMED
|
File without changes
|
|
File without changes
|
{velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/aws/handlers/lambda_handler.py
RENAMED
|
File without changes
|
|
File without changes
|
{velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/aws/handlers/mixins/__init__.py
RENAMED
|
File without changes
|
{velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/aws/handlers/mixins/action_names.py
RENAMED
|
File without changes
|
|
File without changes
|
{velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/aws/handlers/mixins/audit_trail.py
RENAMED
|
File without changes
|
{velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/aws/handlers/mixins/client_errors.py
RENAMED
|
File without changes
|
{velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/aws/handlers/mixins/client_input.py
RENAMED
|
File without changes
|
{velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/aws/handlers/mixins/data_service.py
RENAMED
|
File without changes
|
{velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/aws/handlers/mixins/import_actions.py
RENAMED
|
File without changes
|
{velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/aws/handlers/mixins/job_handler.py
RENAMED
|
File without changes
|
|
File without changes
|
{velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/aws/handlers/mixins/row_scoped.py
RENAMED
|
File without changes
|
|
File without changes
|
{velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/aws/handlers/mixins/tiles_actions.py
RENAMED
|
File without changes
|
{velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/aws/handlers/mixins/web_handler.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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/aws/tests/test_deploy_policies.py
RENAMED
|
File without changes
|
{velocity_python-0.13.0 → velocity_python-0.13.1}/src/velocity/aws/tests/test_deploy_policy_size.py
RENAMED
|
File without changes
|