Skip to content

Commit

Permalink
Admin: Fix mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
bblommers committed Dec 24, 2024
1 parent 1e4364d commit b481483
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion moto/core/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ def patch_client(client: botocore.client.BaseClient) -> None:
# - in 99% of the cases there are no duplicate event handlers, so it doesn't matter if the check fails
pass

client.meta.events.register("before-send", botocore_stubber)
client.meta.events.register("before-send", botocore_stubber) # type: ignore[arg-type]
else:
raise Exception(f"Argument {client} should be of type boto3.client")

Expand Down

0 comments on commit b481483

Please sign in to comment.