Add type hints to get_config_value

This commit is contained in:
Joel Heaps committed 2023-09-29 10:50:01 -05:00
1 parent daed737f73
commit 330d8ec86a
1 file changed
+1 -1
+1 -1
View File
@@ -234,7 +234,7 @@ class ShutdownSignalHandler:
self.shutdown_count += 1
def _get_config_value(key, default=""):
def _get_config_value(key: str, default: str = "") -> str:
input_path = os.environ.get("FILE__" + key, None)
if input_path is not None:
try: