Remove dict typing (#21)

This commit is contained in:
thomas
2023-03-23 08:43:23 +00:00
committed by GitHub
parent f41fe98ced
commit 6b218a3926

View File

@@ -3,7 +3,7 @@ import contextlib
import aspect_ratio_helper._constants as _const
def safe_opt_util(shared_opts, key, default_key_map: dict[str, object]):
def safe_opt_util(shared_opts, key, default_key_map):
# attempt to retrieve key from shared options
with contextlib.suppress(AttributeError):
value = shared_opts.__getattr__(key)