-
Notifications
You must be signed in to change notification settings - Fork 363
Closed
Labels
type / enhancementIssue type: new feature or requestIssue type: new feature or request
Description
🚀 Feature
If I do run.artifact_uri should return None if run.set_artifact_uri(...) has not been set yet.
Motivation
I'd like to check whether a run's artifact_uri has been set yet or not, so as to know programatically whether it needs to be set or whether it's safe to run run.log_artifact(...)
Pitch
In run.artifact_uri property function, after base_uri, add if base_uri is None: return None
Alternatives
I could use the try: ... except: ... pattern whenever I go to log and artifact or check that artifact_uri is set, but that's a bit cumbersome.
Metadata
Metadata
Assignees
Labels
type / enhancementIssue type: new feature or requestIssue type: new feature or request