async-lambda-unstable 0.4.6__tar.gz → 0.4.7__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.
- {async-lambda-unstable-0.4.6 → async-lambda-unstable-0.4.7}/PKG-INFO +1 -1
- {async-lambda-unstable-0.4.6 → async-lambda-unstable-0.4.7}/async_lambda/__init__.py +1 -1
- {async-lambda-unstable-0.4.6 → async-lambda-unstable-0.4.7}/async_lambda/controller.py +2 -1
- async-lambda-unstable-0.4.7/async_lambda/payload_encoder.py +11 -0
- {async-lambda-unstable-0.4.6 → async-lambda-unstable-0.4.7}/async_lambda_unstable.egg-info/PKG-INFO +1 -1
- {async-lambda-unstable-0.4.6 → async-lambda-unstable-0.4.7}/async_lambda_unstable.egg-info/SOURCES.txt +1 -0
- {async-lambda-unstable-0.4.6 → async-lambda-unstable-0.4.7}/README.md +0 -0
- {async-lambda-unstable-0.4.6 → async-lambda-unstable-0.4.7}/async_lambda/build_config.py +0 -0
- {async-lambda-unstable-0.4.6 → async-lambda-unstable-0.4.7}/async_lambda/cli.py +0 -0
- {async-lambda-unstable-0.4.6 → async-lambda-unstable-0.4.7}/async_lambda/client.py +0 -0
- {async-lambda-unstable-0.4.6 → async-lambda-unstable-0.4.7}/async_lambda/config.py +0 -0
- {async-lambda-unstable-0.4.6 → async-lambda-unstable-0.4.7}/async_lambda/defer.py +0 -0
- {async-lambda-unstable-0.4.6 → async-lambda-unstable-0.4.7}/async_lambda/env.py +0 -0
- {async-lambda-unstable-0.4.6 → async-lambda-unstable-0.4.7}/async_lambda/middleware.py +0 -0
- {async-lambda-unstable-0.4.6 → async-lambda-unstable-0.4.7}/async_lambda/models/__init__.py +0 -0
- {async-lambda-unstable-0.4.6 → async-lambda-unstable-0.4.7}/async_lambda/models/case_insensitive_dict.py +0 -0
- {async-lambda-unstable-0.4.6 → async-lambda-unstable-0.4.7}/async_lambda/models/events/__init__.py +0 -0
- {async-lambda-unstable-0.4.6 → async-lambda-unstable-0.4.7}/async_lambda/models/events/api_event.py +0 -0
- {async-lambda-unstable-0.4.6 → async-lambda-unstable-0.4.7}/async_lambda/models/events/base_event.py +0 -0
- {async-lambda-unstable-0.4.6 → async-lambda-unstable-0.4.7}/async_lambda/models/events/dynamodb_event.py +0 -0
- {async-lambda-unstable-0.4.6 → async-lambda-unstable-0.4.7}/async_lambda/models/events/managed_sqs_event.py +0 -0
- {async-lambda-unstable-0.4.6 → async-lambda-unstable-0.4.7}/async_lambda/models/events/scheduled_event.py +0 -0
- {async-lambda-unstable-0.4.6 → async-lambda-unstable-0.4.7}/async_lambda/models/events/unmanaged_sqs_event.py +0 -0
- {async-lambda-unstable-0.4.6 → async-lambda-unstable-0.4.7}/async_lambda/models/mock/mock_context.py +0 -0
- {async-lambda-unstable-0.4.6 → async-lambda-unstable-0.4.7}/async_lambda/models/mock/mock_event.py +0 -0
- {async-lambda-unstable-0.4.6 → async-lambda-unstable-0.4.7}/async_lambda/models/task.py +0 -0
- {async-lambda-unstable-0.4.6 → async-lambda-unstable-0.4.7}/async_lambda/py.typed +0 -0
- {async-lambda-unstable-0.4.6 → async-lambda-unstable-0.4.7}/async_lambda/util.py +0 -0
- {async-lambda-unstable-0.4.6 → async-lambda-unstable-0.4.7}/async_lambda_unstable.egg-info/dependency_links.txt +0 -0
- {async-lambda-unstable-0.4.6 → async-lambda-unstable-0.4.7}/async_lambda_unstable.egg-info/entry_points.txt +0 -0
- {async-lambda-unstable-0.4.6 → async-lambda-unstable-0.4.7}/async_lambda_unstable.egg-info/requires.txt +0 -0
- {async-lambda-unstable-0.4.6 → async-lambda-unstable-0.4.7}/async_lambda_unstable.egg-info/top_level.txt +0 -0
- {async-lambda-unstable-0.4.6 → async-lambda-unstable-0.4.7}/pyproject.toml +0 -0
- {async-lambda-unstable-0.4.6 → async-lambda-unstable-0.4.7}/setup.cfg +0 -0
|
@@ -14,4 +14,4 @@ from .models.events.managed_sqs_event import ManagedSQSEvent as ManagedSQSEvent
|
|
|
14
14
|
from .models.events.scheduled_event import ScheduledEvent as ScheduledEvent
|
|
15
15
|
from .models.events.unmanaged_sqs_event import UnmanagedSQSEvent as UnmanagedSQSEvent
|
|
16
16
|
|
|
17
|
-
__version__ = "0.4.
|
|
17
|
+
__version__ = "0.4.7"
|
|
@@ -21,6 +21,7 @@ from .models.events.unmanaged_sqs_event import UnmanagedSQSEvent
|
|
|
21
21
|
from .models.mock.mock_context import MockLambdaContext
|
|
22
22
|
from .models.mock.mock_event import MockSQSLambdaEvent
|
|
23
23
|
from .models.task import AsyncLambdaTask, TaskTriggerType
|
|
24
|
+
from .payload_encoder import PayloadEncoder
|
|
24
25
|
from .util import make_cf_tags
|
|
25
26
|
|
|
26
27
|
logger = logging.getLogger(__name__)
|
|
@@ -392,7 +393,7 @@ class AsyncLambdaController:
|
|
|
392
393
|
"destination_task_id": destination_task_id,
|
|
393
394
|
"invocation_id": invocation_id,
|
|
394
395
|
}
|
|
395
|
-
serialized_payload = json.dumps(payload)
|
|
396
|
+
serialized_payload = json.dumps(payload, cls=PayloadEncoder)
|
|
396
397
|
payload_size = len(serialized_payload.encode())
|
|
397
398
|
if payload_size < 250_000: # we need to double encode to be sure
|
|
398
399
|
payload_size = len(json.dumps(serialized_payload).encode())
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{async-lambda-unstable-0.4.6 → async-lambda-unstable-0.4.7}/async_lambda/models/events/__init__.py
RENAMED
|
File without changes
|
{async-lambda-unstable-0.4.6 → async-lambda-unstable-0.4.7}/async_lambda/models/events/api_event.py
RENAMED
|
File without changes
|
{async-lambda-unstable-0.4.6 → async-lambda-unstable-0.4.7}/async_lambda/models/events/base_event.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{async-lambda-unstable-0.4.6 → async-lambda-unstable-0.4.7}/async_lambda/models/mock/mock_context.py
RENAMED
|
File without changes
|
{async-lambda-unstable-0.4.6 → async-lambda-unstable-0.4.7}/async_lambda/models/mock/mock_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
|