pydantic / pydantic-extra-types

Extra Pydantic types.
MIT License
176 stars 47 forks source link

Package Request: v2.6.1 - Alpha-2 Language Codes #163

Closed CostcoFanboy closed 4 months ago

CostcoFanboy commented 4 months ago

Apologies this is probably not the place but would you be so kind as to release the next version?

I'd greatly appreciate if I could install from pypi a version that includes @odelmarcelle 's work in https://github.com/pydantic/pydantic-extra-types/pull/153.

Thank you greatly!

CostcoFanboy commented 4 months ago

Thank you @yezz123, I really appreciate you picking this up.

I'd like to ask an additional question, I'm thinking about making a class that will deserialize Accept-Language in Pydantic models, basically perform a form of content-negotiation based on RFC-3282.

Would you know of a project that undertook the validation of header values using Pydantic? If not I'll make my own.

Cheers!

yezz123 commented 4 months ago

I'd like to ask an additional question, I'm thinking about making a class that will deserialize Accept-Language in Pydantic models, basically perform a form of content negotiation based on RFC-3282.

Would you know of a project that undertook the validation of header values using Pydantic? If not I'll make my own.

Cheers!

Hey @CostcoFanboy, I'm unaware of any existing package for deserializing Accept-Language headers according to RFC 3282.

However, it sounds like a valuable addition to the ecosystem! If you decide to go ahead with it 🚀

samuelcolvin commented 4 months ago

I agree with @yezz123.