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

Improve argparse UI for boolean flags #24

Merged
merged 2 commits into from
Sep 16, 2021
Merged

Conversation

reuben
Copy link
Contributor

@reuben reuben commented Sep 14, 2021

No description provided.

@reuben reuben requested a review from erogol September 14, 2021 07:57
@@ -502,9 +502,6 @@ def _init_argparse(

if not has_default or field_default_factory is list:
if not is_primitive_type(list_field_type) and not relaxed_parser:
print(
f"AAAAAAA field_name:{field_name}, field_default:{field_default}, field_default_factory:{field_default_factory}, list_field_type:{list_field_type}"
Copy link
Member

Choose a reason for hiding this comment

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

lol

@reuben reuben merged commit f19832c into main Sep 16, 2021
@reuben reuben deleted the better-boolean-placeholders branch September 16, 2021 07:18
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