Add type hints to get_config_value

This commit is contained in:
Joel Heaps 2023-09-29 10:50:01 -05:00
parent daed737f73
commit 330d8ec86a

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: