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

Suppress argparser default value setter. #78

Merged
merged 1 commit into from
Oct 2, 2024
Merged

Suppress argparser default value setter. #78

merged 1 commit into from
Oct 2, 2024

Conversation

YooSunYoung
Copy link
Contributor

Fixes #77

@nitrosx Sorry for the bug...!

It was not ignored, it was just magically given by the argparser by default.

Now it should work as expected.

I also realized that I didn't put the configuration unit tests back after re-implementing the configuration module.

I'll add more tests as well.

@@ -69,7 +68,7 @@ def build_arg_parser(

**Note**: It can't parse the annotations from parent class.
"""
parser = argparse.ArgumentParser()
parser = argparse.ArgumentParser(argument_default=argparse.SUPPRESS)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This option was missing...

Copy link
Contributor

Choose a reason for hiding this comment

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

Good that we find the issue and we... you fixed it! :)
Thank you for the quick fix

@nitrosx nitrosx merged commit b941d83 into main Oct 2, 2024
3 checks passed
@nitrosx nitrosx deleted the fix-argparser branch October 2, 2024 07:30
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