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

Fix/SK-1181 | Prevent default flag values from always overwriting yaml file in start-v2 #741

Merged
merged 2 commits into from
Nov 6, 2024

Conversation

benjaminastrand
Copy link
Contributor

  • Previously default values for name, trainer and validator were set using click - which meant they always overwrote the values in yaml file.
  • Logic for setting default values is now moved to function body.
  • Now, the logic works as presented in the table below. The entries show which value is used in each of the 4 situations.
Flag\File Set Not set
Set Flag value Flag value
Not set File value Default value

@benjaminastrand benjaminastrand changed the title Fix/SK-1181 | Prevent default flag values from always overwriting yaml file Fix/SK-1181 | Prevent default flag values from always overwriting yaml file in start-v2 Nov 6, 2024
Copy link
Member

@Wrede Wrede left a comment

Choose a reason for hiding this comment

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

I like the table, we should also add env_vars

@Wrede Wrede merged commit 804e0a3 into master Nov 6, 2024
20 checks passed
@Wrede Wrede deleted the fix/SK-1181 branch November 6, 2024 11:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants