modmex-lambda 0.5.11__tar.gz → 0.5.12__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.
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/PKG-INFO +1 -1
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/stream/runner.py +3 -3
- modmex_lambda-0.5.12/modmex_lambda/stream/schedulers.py +15 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/pyproject.toml +1 -1
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/tests/stream/test_faults.py +5 -6
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/.github/workflows/ci.yml +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/.github/workflows/release.yml +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/.gitignore +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/LICENSE +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/README.md +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/__init__.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/connectors/__init__.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/connectors/cloudwatch.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/connectors/dynamodb.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/connectors/eventbridge.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/connectors/icloudwatch.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/connectors/idynamodb.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/connectors/ieventbridge.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/connectors/ilambda.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/connectors/is3.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/connectors/isns.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/connectors/isqs.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/connectors/lambda_.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/connectors/module.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/connectors/s3.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/connectors/sns.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/connectors/sqs.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/data_classes/__init__.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/data_classes/api_gateway_authorizer_event.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/data_classes/api_gateway_proxy_event.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/data_classes/api_gateway_websocket_event.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/data_classes/cognito_user_pool_event.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/data_classes/common.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/dependencies.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/event_handler/__init__.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/event_handler/api_gateway.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/event_handler/constants.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/event_handler/content_types.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/event_handler/cors.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/event_handler/dependencies/__init__.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/event_handler/dependencies/compat.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/event_handler/dependencies/dependant.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/event_handler/dependencies/dependency_middleware.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/event_handler/dependencies/depends.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/event_handler/dependencies/params.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/event_handler/dependencies/types.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/event_handler/exception_handler.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/event_handler/exceptions.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/event_handler/gateway_response.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/event_handler/middlewares.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/event_handler/params.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/event_handler/request.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/event_handler/response.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/event_handler/routing.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/event_handler/routing_fallbacks.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/event_handler/types.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/event_sources.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/exceptions.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/logging.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/params.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/parser.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/persistence/__init__.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/persistence/dynamodb/__init__.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/persistence/dynamodb/expressions.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/persistence/dynamodb/keys.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/persistence/dynamodb/materialized_views.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/persistence/dynamodb/stream_fields.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/py.typed +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/request.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/resolver.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/response.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/routing.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/shared/__init__.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/shared/cookies.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/shared/headers_serializer.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/shared/json_encoder.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/shared/types.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/stream/__init__.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/stream/events/__init__.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/stream/events/dynamodb.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/stream/events/kinesis.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/stream/events/s3.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/stream/events/sns.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/stream/events/sqs.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/stream/filters/__init__.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/stream/filters/content.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/stream/filters/event_type.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/stream/filters/latch.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/stream/filters/skip.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/stream/flavors/__init__.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/stream/flavors/base_flavor.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/stream/flavors/cdc.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/stream/flavors/collect.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/stream/flavors/correlate.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/stream/flavors/evaluate.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/stream/flavors/expired.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/stream/flavors/iflavor.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/stream/flavors/job.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/stream/flavors/materialize.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/stream/flavors/s3.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/stream/flavors/sns.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/stream/flavors/task.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/stream/flavors/update.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/stream/irules_registry.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/stream/operators/__init__.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/stream/operators/cloudwatch.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/stream/operators/dynamodb.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/stream/operators/ioperator.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/stream/operators/lambda_.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/stream/operators/publisher.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/stream/operators/s3.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/stream/operators/sns.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/stream/operators/sqs.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/stream/rules_registry.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/stream/sources/__init__.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/stream/sources/base.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/stream/sources/dynamodb.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/stream/sources/kinesis.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/stream/sources/s3.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/stream/sources/sns.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/stream/sources/sqs.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/stream/utils/__init__.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/stream/utils/apigateway.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/stream/utils/aws.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/stream/utils/batch.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/stream/utils/cloudwatch.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/stream/utils/concurrency.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/stream/utils/contracts.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/stream/utils/data_classes/__init__.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/stream/utils/data_classes/dynamodb.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/stream/utils/decorators.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/stream/utils/dynamodb.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/stream/utils/eventbridge.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/stream/utils/faults.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/stream/utils/filters.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/stream/utils/json_encoder.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/stream/utils/lambda_.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/stream/utils/operators.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/stream/utils/pluralize.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/stream/utils/print.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/stream/utils/retry.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/stream/utils/s3.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/stream/utils/sns.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/stream/utils/split.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/stream/utils/sqs.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/stream/utils/tags.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/stream/utils/time.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/stream/utils/uow.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/tracing.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/validation.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/poetry.lock +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/tests/__init__.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/tests/conftest.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/tests/connectors/__init__.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/tests/connectors/conftest.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/tests/connectors/test_cloudwatch.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/tests/connectors/test_dynamodb.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/tests/connectors/test_lazy_clients.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/tests/connectors/test_s3.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/tests/connectors/test_simple_connectors.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/tests/connectors/test_sns.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/tests/connectors/test_sqs.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/tests/data_classes/__init__.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/tests/data_classes/test_api_gateway_proxy_event.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/tests/data_classes/test_cognito_user_pool_event.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/tests/data_classes/test_common.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/tests/event_handler/__init__.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/tests/event_handler/test_api_gateway.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/tests/event_handler/test_cors.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/tests/event_handler/test_dependencies.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/tests/event_handler/test_exception_handler.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/tests/event_handler/test_gateway_response.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/tests/event_handler/test_request.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/tests/event_handler/test_response.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/tests/event_handler/test_routing.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/tests/persistence/__init__.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/tests/persistence/test_dynamodb_expressions.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/tests/persistence/test_dynamodb_keys.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/tests/persistence/test_dynamodb_materialized_views.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/tests/persistence/test_dynamodb_stream_fields.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/tests/shared/__init__.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/tests/shared/test_cookies_headers.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/tests/shared/test_json_encoder.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/tests/stream/__init__.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/tests/stream/conftest.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/tests/stream/events/__init__.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/tests/stream/events/test_dynamodb.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/tests/stream/events/test_kinesis.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/tests/stream/events/test_s3.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/tests/stream/events/test_sns.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/tests/stream/events/test_sqs.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/tests/stream/filters/__init__.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/tests/stream/filters/test_content.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/tests/stream/filters/test_event_type.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/tests/stream/filters/test_latch.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/tests/stream/filters/test_skip.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/tests/stream/flavors/__init__.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/tests/stream/flavors/source_events.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/tests/stream/flavors/test_base_flavor.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/tests/stream/flavors/test_cdc.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/tests/stream/flavors/test_collect.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/tests/stream/flavors/test_correlate.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/tests/stream/flavors/test_evaluate.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/tests/stream/flavors/test_expired.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/tests/stream/flavors/test_job.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/tests/stream/flavors/test_materialize.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/tests/stream/flavors/test_s3.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/tests/stream/flavors/test_sns.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/tests/stream/flavors/test_task.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/tests/stream/flavors/test_update.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/tests/stream/test_dependency_resolver.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/tests/stream/test_rules_registry.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/tests/stream/test_runner.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/tests/stream/test_runner_pipeline.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/tests/stream/test_sources.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/tests/stream/utils/__init__.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/tests/stream/utils/faults.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/tests/stream/utils/test_apigateway.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/tests/stream/utils/test_aws.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/tests/stream/utils/test_batch.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/tests/stream/utils/test_cloudwatch.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/tests/stream/utils/test_concurrency.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/tests/stream/utils/test_decorators.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/tests/stream/utils/test_dynamodb.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/tests/stream/utils/test_eventbridge.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/tests/stream/utils/test_filters.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/tests/stream/utils/test_json_encoder.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/tests/stream/utils/test_lambda.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/tests/stream/utils/test_operators.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/tests/stream/utils/test_pluralize.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/tests/stream/utils/test_print.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/tests/stream/utils/test_retry.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/tests/stream/utils/test_s3.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/tests/stream/utils/test_sns.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/tests/stream/utils/test_split.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/tests/stream/utils/test_sqs.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/tests/stream/utils/test_tags.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/tests/stream/utils/test_time.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/tests/stream/utils/test_uow.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/tests/test_lazy_imports.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/tests/test_logging.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/tests/test_parser_event_sources.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/tests/test_reexports.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/tests/test_tracing.py +0 -0
- {modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/tests/test_validation.py +0 -0
|
@@ -2,13 +2,13 @@ import copy
|
|
|
2
2
|
import multiprocessing
|
|
3
3
|
import os
|
|
4
4
|
import threading
|
|
5
|
+
from contextvars import Token
|
|
5
6
|
from typing import Any, Callable, Iterable, TypedDict
|
|
6
7
|
|
|
7
8
|
from reactivex import Observable, from_list, operators as ops
|
|
8
|
-
from reactivex.scheduler import ThreadPoolScheduler
|
|
9
|
-
from contextvars import Token
|
|
10
9
|
|
|
11
10
|
from modmex_lambda.stream.irules_registry import IRulesRegistry
|
|
11
|
+
from modmex_lambda.stream.schedulers import ContextThreadPoolScheduler
|
|
12
12
|
from modmex_lambda.stream.utils.eventbridge import publish_to_event_bridge
|
|
13
13
|
from modmex_lambda.stream.utils.faults import flush_faults
|
|
14
14
|
from modmex_lambda.logging import Logger
|
|
@@ -47,7 +47,7 @@ def run(
|
|
|
47
47
|
**(opt or {}),
|
|
48
48
|
}
|
|
49
49
|
optimal_thread_count = multiprocessing.cpu_count()
|
|
50
|
-
pool_scheduler =
|
|
50
|
+
pool_scheduler = ContextThreadPoolScheduler(optimal_thread_count)
|
|
51
51
|
pipeline_logger = opt.get('logger') or Logger()
|
|
52
52
|
|
|
53
53
|
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
from contextvars import copy_context
|
|
2
|
+
|
|
3
|
+
from reactivex.scheduler import ThreadPoolScheduler
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class ContextThreadPoolScheduler(ThreadPoolScheduler):
|
|
7
|
+
"""Thread-pool scheduler that preserves the scheduling context."""
|
|
8
|
+
|
|
9
|
+
class ThreadPoolThread(ThreadPoolScheduler.ThreadPoolThread):
|
|
10
|
+
def __init__(self, executor, target):
|
|
11
|
+
super().__init__(executor, target)
|
|
12
|
+
self.context = copy_context()
|
|
13
|
+
|
|
14
|
+
def start(self) -> None:
|
|
15
|
+
self.future = self.executor.submit(self.context.run, self.target)
|
|
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "modmex-lambda"
|
|
7
|
-
version = "0.5.
|
|
7
|
+
version = "0.5.12"
|
|
8
8
|
description = "Ultra-lightweight AWS Lambda utilities for API Gateway routing and event handling."
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.10,<4.0"
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
from reactivex import Observable
|
|
1
|
+
import pytest
|
|
2
|
+
|
|
4
3
|
from modmex_lambda.stream.flavors.task import Task
|
|
5
4
|
from modmex_lambda.stream.sources.kinesis import kinesis_source
|
|
6
|
-
from modmex_lambda.stream.utils.operators import try_map
|
|
7
5
|
from modmex_lambda.stream.rules_registry import RulesRegistry
|
|
8
6
|
from tests.stream.flavors.source_events import kinesis_event
|
|
9
7
|
|
|
@@ -19,7 +17,8 @@ PIPELINES = [
|
|
|
19
17
|
}),
|
|
20
18
|
]
|
|
21
19
|
|
|
22
|
-
|
|
20
|
+
@pytest.mark.parametrize("concurrency", [False, True])
|
|
21
|
+
def test_execute_task(concurrency):
|
|
23
22
|
event = kinesis_event([
|
|
24
23
|
{
|
|
25
24
|
"type": "task1",
|
|
@@ -51,7 +50,7 @@ def test_execute_task():
|
|
|
51
50
|
|
|
52
51
|
@kinesis_source(
|
|
53
52
|
RulesRegistry().registry(*PIPELINES),
|
|
54
|
-
concurrency=
|
|
53
|
+
concurrency=concurrency,
|
|
55
54
|
on_next = _on_next,
|
|
56
55
|
on_fault = on_fault
|
|
57
56
|
)
|
|
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
|
{modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/data_classes/api_gateway_proxy_event.py
RENAMED
|
File without changes
|
|
File without changes
|
{modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/data_classes/cognito_user_pool_event.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
|
{modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/event_handler/dependencies/__init__.py
RENAMED
|
File without changes
|
{modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/event_handler/dependencies/compat.py
RENAMED
|
File without changes
|
{modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/event_handler/dependencies/dependant.py
RENAMED
|
File without changes
|
|
File without changes
|
{modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/event_handler/dependencies/depends.py
RENAMED
|
File without changes
|
{modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/event_handler/dependencies/params.py
RENAMED
|
File without changes
|
{modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/event_handler/dependencies/types.py
RENAMED
|
File without changes
|
{modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/event_handler/exception_handler.py
RENAMED
|
File without changes
|
|
File without changes
|
{modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/event_handler/gateway_response.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/event_handler/routing_fallbacks.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
|
{modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/persistence/dynamodb/__init__.py
RENAMED
|
File without changes
|
{modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/persistence/dynamodb/expressions.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/persistence/dynamodb/stream_fields.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
|
|
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
|
{modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/stream/utils/data_classes/__init__.py
RENAMED
|
File without changes
|
{modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/modmex_lambda/stream/utils/data_classes/dynamodb.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
|
|
File without changes
|
|
File without changes
|
{modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/tests/data_classes/test_api_gateway_proxy_event.py
RENAMED
|
File without changes
|
{modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/tests/data_classes/test_cognito_user_pool_event.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
|
{modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/tests/persistence/test_dynamodb_expressions.py
RENAMED
|
File without changes
|
|
File without changes
|
{modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/tests/persistence/test_dynamodb_materialized_views.py
RENAMED
|
File without changes
|
{modmex_lambda-0.5.11 → modmex_lambda-0.5.12}/tests/persistence/test_dynamodb_stream_fields.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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|