Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(framework) Send federation config to SuperExec #3838

Merged
merged 13 commits into from
Jul 23, 2024

Conversation

charlesbvll
Copy link
Member

Issue

Description

Related issues/PRs

Proposal

Explanation

Checklist

  • Implement proposed change
  • Write tests
  • Update documentation
  • Make CI checks pass
  • Ping maintainers on Slack (channel #contributions)

Any other comments?

@charlesbvll charlesbvll changed the title feat(framework) Add options_config to SuperExec feat(framework) Add options_config proto to SuperExec Jul 18, 2024
@charlesbvll charlesbvll marked this pull request as ready for review July 18, 2024 06:36
@charlesbvll charlesbvll changed the title feat(framework) Add options_config proto to SuperExec feat(framework) Add options_config to SuperExec Jul 18, 2024
@@ -165,6 +165,7 @@ def on_channel_state_change(channel_connectivity: str) -> None:
req = StartRunRequest(
fab_file=Path(fab_path).read_bytes(),
override_config=parse_config_args(config_overrides, separator=","),
options_config=flatten_dict(federation.get("options")),
Copy link
Member

Choose a reason for hiding this comment

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

Do we want to have any kind of validation? Perhaps check if only str values are set?

Copy link
Member Author

Choose a reason for hiding this comment

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

@danieljanes This is the case inside the flatten_dict function

@danieljanes danieljanes changed the title feat(framework) Add options_config to SuperExec feat(framework) Send federation config to SuperExec Jul 23, 2024
@danieljanes danieljanes merged commit 488bc91 into main Jul 23, 2024
34 checks passed
@danieljanes danieljanes deleted the add-options-config branch July 23, 2024 08:06
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