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

conbytes #315

Closed
samuelcolvin opened this Issue Nov 30, 2018 · 2 comments

Comments

Projects
None yet
2 participants
@samuelcolvin
Copy link
Owner

samuelcolvin commented Nov 30, 2018

As per #311 (comment) we should implement conbytes and suport it in Schema.

Exactly the same as constr but for bytes.

cc @tiangolo

@tiangolo

This comment has been minimized.

Copy link
Contributor

tiangolo commented Nov 30, 2018

@samuelcolvin Do you want me to implement it as part of #311 ? Or should it be a posterior PR?

@samuelcolvin

This comment has been minimized.

Copy link
Owner Author

samuelcolvin commented Nov 30, 2018

Definitely new PR. If you'd like to do it that would be great. Otherwise I can.

Gr1N added a commit to Gr1N/pydantic that referenced this issue Jan 14, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment