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

Allow data specification provision to default #18

Open
okomestudio opened this issue Apr 18, 2020 · 0 comments
Open

Allow data specification provision to default #18

okomestudio opened this issue Apr 18, 2020 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@okomestudio
Copy link
Owner

Perhaps the default value, data type, help doc (for ArgumentParser) should be consolidated into the input data structure to the default dict. For example,

default = {"port": D.int_or_none(5432, "Database port")}

Then we don't need a separate schema to be supplied, and also ArgumentParser help can be more flexibly generated.

@okomestudio okomestudio added the enhancement New feature or request label Apr 18, 2020
@okomestudio okomestudio added this to the beta milestone Apr 18, 2020
okomestudio added a commit that referenced this issue May 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant