From 9cabede3e2599a40b7b52538194f2035dfadba7e Mon Sep 17 00:00:00 2001 From: Artem Rys Date: Tue, 28 Jun 2022 20:01:19 +0200 Subject: [PATCH] Reformat using black --- .../instrumentation/aws_lambda/__init__.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/instrumentation/opentelemetry-instrumentation-aws-lambda/src/opentelemetry/instrumentation/aws_lambda/__init__.py b/instrumentation/opentelemetry-instrumentation-aws-lambda/src/opentelemetry/instrumentation/aws_lambda/__init__.py index 24dadf0d35..5096b15fba 100644 --- a/instrumentation/opentelemetry-instrumentation-aws-lambda/src/opentelemetry/instrumentation/aws_lambda/__init__.py +++ b/instrumentation/opentelemetry-instrumentation-aws-lambda/src/opentelemetry/instrumentation/aws_lambda/__init__.py @@ -273,10 +273,12 @@ def _instrumented_lambda_handler_call( ) try: - if lambda_event["Records"][0]["eventSource"] in {"aws:sqs", - "aws:s3", - "aws:sns", - "aws:dynamodb"}: + if lambda_event["Records"][0]["eventSource"] in { + "aws:sqs", + "aws:s3", + "aws:sns", + "aws:dynamodb", + }: # See more: # https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html # https://docs.aws.amazon.com/lambda/latest/dg/with-sns.html