You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using lambda warmers on lambda functions that are connected as resolvers to AWS AppSync (graphql)
AppSync has a feature that enables batches for a lambda function (resolver), resulting in a List of events.
Therefore we receive this error when the invocation is not a warmer invocation.
@functools.wraps(f)
def wrapped_func(event, context, *args, **kwargs):
execution_info = dict(
instance_id=context.aws_request_id,
is_warmer_invocation=event.get(flag) or False,
**LAMBDA_INFO
)
AttributeError: 'list' object has no attribute 'get'
I am using lambda warmers on lambda functions that are connected as resolvers to AWS AppSync (graphql)
AppSync has a feature that enables batches for a lambda function (resolver), resulting in a List of events.
Therefore we receive this error when the invocation is not a warmer invocation.
../../../.venv/lib/python3.9/site-packages/lambdawarmer/init.py:34: AttributeError
The text was updated successfully, but these errors were encountered: