renamem orders
This commit is contained in:
@@ -45,6 +45,7 @@ def lambda_handler(event: EventBridgeEvent, context: LambdaContext) -> bool:
|
||||
':completed': 'COMPLETED',
|
||||
':now': now_,
|
||||
},
|
||||
exc_cls=StatusConflictError,
|
||||
)
|
||||
transact.put(
|
||||
item={
|
||||
@@ -68,3 +69,6 @@ def lambda_handler(event: EventBridgeEvent, context: LambdaContext) -> bool:
|
||||
return False
|
||||
else:
|
||||
return True
|
||||
|
||||
|
||||
class StatusConflictError(Exception): ...
|
||||
|
||||
Reference in New Issue
Block a user