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

Dataclass configuration #276

Closed
jarekkar opened this issue Oct 16, 2018 · 1 comment
Closed

Dataclass configuration #276

jarekkar opened this issue Oct 16, 2018 · 1 comment

Comments

@jarekkar
Copy link
Contributor

@jarekkar jarekkar commented Oct 16, 2018

Question

  • OS: Windows 10
  • Python version import sys; print(sys.version): 3.6.6
  • Pydantic version import pydantic; print(pydantic.VERSION): 0.14

How to pass the pydantic configuration to classes annotated by @dataclass in the correct way?

@samuelcolvin
Copy link
Owner

@samuelcolvin samuelcolvin commented Oct 16, 2018

Right now you can't. Happy to accept a pr.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants