From b7ac4ee43c1f5cd6a97cbad96b1c8fab7b65edc3 Mon Sep 17 00:00:00 2001 From: Tianyu Liu Date: Tue, 25 Feb 2025 14:38:18 -0500 Subject: [PATCH] Minor adjustment --- python/kvikio/kvikio/defaults.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/kvikio/kvikio/defaults.py b/python/kvikio/kvikio/defaults.py index 9763be89ea..b5fa995826 100644 --- a/python/kvikio/kvikio/defaults.py +++ b/python/kvikio/kvikio/defaults.py @@ -37,7 +37,7 @@ def wrapper(*args, **kwargs): class ConfigContextManager: - def __init__(self, config: dict): + def __init__(self, config: dict[str, str]): ( self._all_getter_property_functions, self._all_setter_property_functions, @@ -51,7 +51,7 @@ def __init__(self, config: dict): def __enter__(self): return None - def __exit__(self, type, value, traceback): + def __exit__(self, type_unused, value, traceback_unused): for key, value in self._old_properties.items(): self._set_property(key, value)