Skip to content

piccolo args to allow only valid arguments #1114

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

Open
najeeb12 opened this issue Oct 23, 2024 · 2 comments
Open

piccolo args to allow only valid arguments #1114

najeeb12 opened this issue Oct 23, 2024 · 2 comments

Comments

@najeeb12
Copy link

its let you say Float(nul=True) when it should raise invalid argument

@dantownsend
Copy link
Member

Yes, that's a fair point - Column.__init__ has **kwargs specified, which means typos slip through.

@sinisaos
Copy link
Member

@dantownsend @najeeb12 Here is a possible solution.

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

No branches or pull requests

3 participants