From 9fa45bf8205cffff722e5d31d0233ccd37c721f0 Mon Sep 17 00:00:00 2001 From: Sean Friedowitz Date: Sun, 14 Jan 2024 22:11:45 -0800 Subject: [PATCH] type hint --- src/flamingo/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/flamingo/utils.py b/src/flamingo/utils.py index 089c8fd9..4f98a5cf 100644 --- a/src/flamingo/utils.py +++ b/src/flamingo/utils.py @@ -4,7 +4,7 @@ __all__ = ["get_default_run_name"] -def get_default_run_name(base_name="dummy_run"): +def get_default_run_name(base_name: str = "dummy_run"): if user := os.getenv("USER", None): return f"{user}_{base_name}_{datetime.now().strftime('%Y-%m-%d_%H-%M-%S')}" else: