Skip to content

Commit

Permalink
Keep Bayeux Python3.9 compatible by using Optional[] instead of Type1…
Browse files Browse the repository at this point in the history
… | Type2.

PiperOrigin-RevId: 620010737
  • Loading branch information
ThomasColthurst authored and The bayeux Authors committed Mar 28, 2024
1 parent 6a34a36 commit e7ab942
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bayeux/_src/shared.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def map_fn(chain_method, fn):
def update_with_kwargs(
defaults: dict[str, Any],
*,
reqd: set[str] | None = None,
reqd: Optional[set[str]] = None,
kwargs: dict[str, Any],
):
"""Updates a defaults dictionary, overwriting keys, but not adding new ones.
Expand Down

0 comments on commit e7ab942

Please sign in to comment.