async-lambda-unstable 0.6.8__tar.gz → 0.6.10__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.6.8 → async_lambda_unstable-0.6.10}/PKG-INFO +1 -1
- {async_lambda_unstable-0.6.8 → async_lambda_unstable-0.6.10}/async_lambda/__init__.py +1 -1
- {async_lambda_unstable-0.6.8 → async_lambda_unstable-0.6.10}/async_lambda/controller.py +8 -1
- {async_lambda_unstable-0.6.8 → async_lambda_unstable-0.6.10}/async_lambda/models/mock/mock_event.py +3 -2
- {async_lambda_unstable-0.6.8 → async_lambda_unstable-0.6.10}/.gitignore +0 -0
- {async_lambda_unstable-0.6.8 → async_lambda_unstable-0.6.10}/README.md +0 -0
- {async_lambda_unstable-0.6.8 → async_lambda_unstable-0.6.10}/async_lambda/build_config.py +0 -0
- {async_lambda_unstable-0.6.8 → async_lambda_unstable-0.6.10}/async_lambda/cli.py +0 -0
- {async_lambda_unstable-0.6.8 → async_lambda_unstable-0.6.10}/async_lambda/client.py +0 -0
- {async_lambda_unstable-0.6.8 → async_lambda_unstable-0.6.10}/async_lambda/config.py +0 -0
- {async_lambda_unstable-0.6.8 → async_lambda_unstable-0.6.10}/async_lambda/defer.py +0 -0
- {async_lambda_unstable-0.6.8 → async_lambda_unstable-0.6.10}/async_lambda/env.py +0 -0
- {async_lambda_unstable-0.6.8 → async_lambda_unstable-0.6.10}/async_lambda/middleware.py +0 -0
- {async_lambda_unstable-0.6.8 → async_lambda_unstable-0.6.10}/async_lambda/models/__init__.py +0 -0
- {async_lambda_unstable-0.6.8 → async_lambda_unstable-0.6.10}/async_lambda/models/api_response.py +0 -0
- {async_lambda_unstable-0.6.8 → async_lambda_unstable-0.6.10}/async_lambda/models/case_insensitive_dict.py +0 -0
- {async_lambda_unstable-0.6.8 → async_lambda_unstable-0.6.10}/async_lambda/models/events/__init__.py +0 -0
- {async_lambda_unstable-0.6.8 → async_lambda_unstable-0.6.10}/async_lambda/models/events/api_event.py +0 -0
- {async_lambda_unstable-0.6.8 → async_lambda_unstable-0.6.10}/async_lambda/models/events/base_event.py +0 -0
- {async_lambda_unstable-0.6.8 → async_lambda_unstable-0.6.10}/async_lambda/models/events/dynamodb_event.py +0 -0
- {async_lambda_unstable-0.6.8 → async_lambda_unstable-0.6.10}/async_lambda/models/events/managed_sqs_batch_event.py +0 -0
- {async_lambda_unstable-0.6.8 → async_lambda_unstable-0.6.10}/async_lambda/models/events/managed_sqs_event.py +0 -0
- {async_lambda_unstable-0.6.8 → async_lambda_unstable-0.6.10}/async_lambda/models/events/scheduled_event.py +0 -0
- {async_lambda_unstable-0.6.8 → async_lambda_unstable-0.6.10}/async_lambda/models/events/unmanaged_sqs_event.py +0 -0
- {async_lambda_unstable-0.6.8 → async_lambda_unstable-0.6.10}/async_lambda/models/mock/mock_context.py +0 -0
- {async_lambda_unstable-0.6.8 → async_lambda_unstable-0.6.10}/async_lambda/models/task.py +0 -0
- {async_lambda_unstable-0.6.8 → async_lambda_unstable-0.6.10}/async_lambda/payload_encoder.py +0 -0
- {async_lambda_unstable-0.6.8 → async_lambda_unstable-0.6.10}/async_lambda/py.typed +0 -0
- {async_lambda_unstable-0.6.8 → async_lambda_unstable-0.6.10}/async_lambda/util.py +0 -0
- {async_lambda_unstable-0.6.8 → async_lambda_unstable-0.6.10}/pyproject.toml +0 -0
|
@@ -21,4 +21,4 @@ from .models.events.managed_sqs_event import ManagedSQSEvent as ManagedSQSEvent
|
|
|
21
21
|
from .models.events.scheduled_event import ScheduledEvent as ScheduledEvent
|
|
22
22
|
from .models.events.unmanaged_sqs_event import UnmanagedSQSEvent as UnmanagedSQSEvent
|
|
23
23
|
|
|
24
|
-
__version__ = "0.6.
|
|
24
|
+
__version__ = "0.6.10"
|
|
@@ -431,6 +431,12 @@ class AsyncLambdaController:
|
|
|
431
431
|
"ASYNC_LAMBDA_DELAY_SCHEDULE_GROUP": {
|
|
432
432
|
"Ref": "AsyncLambdaDelayScheduleGroup"
|
|
433
433
|
},
|
|
434
|
+
"ASYNC_LAMBDA_DELAY_SCHEDULE_DLQ_ARN": {
|
|
435
|
+
"Fn::GetAtt": [
|
|
436
|
+
"AsyncLambdaDelayDLQ",
|
|
437
|
+
"Arn",
|
|
438
|
+
]
|
|
439
|
+
},
|
|
434
440
|
**build_config.environment_variables,
|
|
435
441
|
},
|
|
436
442
|
},
|
|
@@ -915,6 +921,7 @@ class AsyncLambdaController:
|
|
|
915
921
|
force_sync=force_sync,
|
|
916
922
|
lane=lane,
|
|
917
923
|
message_group_id=message_group_id,
|
|
924
|
+
unique_delay_id=unique_delay_id,
|
|
918
925
|
)
|
|
919
926
|
is_external_task = False
|
|
920
927
|
if destination_task_id not in self.tasks:
|
|
@@ -1053,7 +1060,7 @@ class AsyncLambdaController:
|
|
|
1053
1060
|
}
|
|
1054
1061
|
|
|
1055
1062
|
get_scheduler_client().create_schedule(
|
|
1056
|
-
Name=schedule_name or uuid4(),
|
|
1063
|
+
Name=schedule_name or str(uuid4()),
|
|
1057
1064
|
GroupName=env.get_delay_schedule_group_name(),
|
|
1058
1065
|
ScheduleExpression=schedule_expression,
|
|
1059
1066
|
ScheduleExpressionTimezone="UTC",
|
{async_lambda_unstable-0.6.8 → async_lambda_unstable-0.6.10}/async_lambda/models/mock/mock_event.py
RENAMED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
from time import time
|
|
2
2
|
from typing import List, Optional, Tuple
|
|
3
3
|
from urllib.parse import parse_qs, parse_qsl
|
|
4
|
+
from uuid import uuid4
|
|
4
5
|
|
|
5
6
|
|
|
6
7
|
def MockSQSLambdaEvent(
|
|
@@ -27,7 +28,7 @@ def MockSQSLambdaEvent(
|
|
|
27
28
|
return {
|
|
28
29
|
"Records": [
|
|
29
30
|
{
|
|
30
|
-
"messageId":
|
|
31
|
+
"messageId": str(uuid4()),
|
|
31
32
|
"receiptHandle": "AQEBwJnKyrHigUMZj6rYigCgxlaS3SLy0a",
|
|
32
33
|
"body": body,
|
|
33
34
|
"attributes": {
|
|
@@ -107,7 +108,7 @@ def MockSQSBatchLambdaEvent(
|
|
|
107
108
|
for body in bodies:
|
|
108
109
|
records.append(
|
|
109
110
|
{
|
|
110
|
-
"messageId":
|
|
111
|
+
"messageId": str(uuid4()),
|
|
111
112
|
"receiptHandle": "AQEBwJnKyrHigUMZj6rYigCgxlaS3SLy0b",
|
|
112
113
|
"body": body,
|
|
113
114
|
"attributes": {
|
|
File without changes
|
|
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.6.8 → async_lambda_unstable-0.6.10}/async_lambda/models/__init__.py
RENAMED
|
File without changes
|
{async_lambda_unstable-0.6.8 → async_lambda_unstable-0.6.10}/async_lambda/models/api_response.py
RENAMED
|
File without changes
|
|
File without changes
|
{async_lambda_unstable-0.6.8 → async_lambda_unstable-0.6.10}/async_lambda/models/events/__init__.py
RENAMED
|
File without changes
|
{async_lambda_unstable-0.6.8 → async_lambda_unstable-0.6.10}/async_lambda/models/events/api_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
|
{async_lambda_unstable-0.6.8 → async_lambda_unstable-0.6.10}/async_lambda/payload_encoder.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|