Skip to content

Bugfix/host variables#91

Merged
corentincarton merged 6 commits into
developfrom
bugfix/host_variables
Aug 14, 2025
Merged

Bugfix/host variables#91
corentincarton merged 6 commits into
developfrom
bugfix/host_variables

Conversation

@corentincarton
Copy link
Copy Markdown
Collaborator

Description

Removing ecflow_variables from host and replacing it by a function that updates a node attributes.

Contributor Declaration

By opening this pull request, I affirm the following:

  • All authors agree to the Contributor License Agreement.
  • The code follows the project's coding standards.
  • I have performed self-review and added comments where needed.
  • I have added or updated tests to verify that my changes are effective and functional.
  • I have run all existing tests and confirmed they pass.

Comment thread pyflow/host.py Outdated
# Update the options with host-specific attributes
for attribute, values in host_attrs.items():
if attribute in ["variables"]:
variables = options.pop("variables", {})
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we change "variables" to attribute? Just so it works if we add additional attributes into host_attrs. Similar change needed for "generated_variables" below.

Copy link
Copy Markdown
Contributor

@jinmannwong jinmannwong left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One small comment, otherwise LGTM.

@corentincarton corentincarton merged commit 6b6ddcc into develop Aug 14, 2025
6 of 7 checks passed
@corentincarton corentincarton deleted the bugfix/host_variables branch August 14, 2025 10:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants