Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
saikonen committed Dec 10, 2024
1 parent 9052b89 commit a5dda26
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion metaflow/plugins/pypi/conda_decorator.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,10 @@ def step_init(self, flow, graph, step, decos, environment, flow_datastore, logge
**super_attributes["packages"],
**self.attributes["packages"],
}
self._attributes_with_user_values = self._attributes_with_user_values.union(
self._attributes_with_user_values.update(
conda_base._attributes_with_user_values
)

self.attributes["python"] = (
self.attributes["python"] or super_attributes["python"]
)
Expand Down
2 changes: 1 addition & 1 deletion metaflow/plugins/pypi/pypi_decorator.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def step_init(self, flow, graph, step, decos, environment, flow_datastore, logge
if "pypi_base" in self.flow._flow_decorators:
pypi_base = self.flow._flow_decorators["pypi_base"][0]
super_attributes = pypi_base.attributes
self._attributes_with_user_values = self._attributes_with_user_values.union(
self._attributes_with_user_values.update(
pypi_base._attributes_with_user_values
)
self.attributes["packages"] = {
Expand Down

0 comments on commit a5dda26

Please sign in to comment.