Skip to content

Commit

Permalink
Admin: Fix mypy (#8435)
Browse files Browse the repository at this point in the history
  • Loading branch information
bblommers authored Dec 24, 2024
1 parent 459c900 commit 48f1e86
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 48f1e86

Please sign in to comment.