Skip to content
This repository has been archived by the owner on Sep 24, 2024. It is now read-only.

Commit

Permalink
type hint
Browse files Browse the repository at this point in the history
  • Loading branch information
Sean Friedowitz committed Jan 15, 2024
1 parent c350c88 commit 9fa45bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/flamingo/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 9fa45bf

Please sign in to comment.