Skip to content

Commit 4aa9659

Browse files
committed
remove if
1 parent ffac443 commit 4aa9659

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

aws_lambda_powertools/utilities/auth/aws_auth.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -116,9 +116,6 @@ def prepare_request(
116116
headers: Optional[dict] = None,
117117
method: Optional[str] = "GET",
118118
):
119-
if region is None:
120-
region = os.environ.get("AWS_REGION")
121-
122119
if body is not None:
123120
body = json.dumps(body)
124121
else:

0 commit comments

Comments
 (0)