Skip to content

Commit

Permalink
Remove more old code
Browse files Browse the repository at this point in the history
  • Loading branch information
romain-intel committed Oct 23, 2024
1 parent 9df29b7 commit bc57f77
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions metaflow/flowspec.py
Original file line number Diff line number Diff line change
Expand Up @@ -344,8 +344,6 @@ def __iter__(self):
return iter(self._steps)

def __getattr__(self, name: str):
if name in ("configs", "steps"):
return getattr(self.__class__, name)
if self._datastore and name in self._datastore:
# load the attribute from the datastore...
x = self._datastore[name]
Expand Down
2 changes: 1 addition & 1 deletion metaflow/parameters.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
("parameter_name", str),
("logger", Callable[..., None]),
("ds_type", str),
("configs", "ConfigValue"),
("configs", Optional["ConfigValue"]),
],
)

Expand Down

0 comments on commit bc57f77

Please sign in to comment.