- Notifications
You must be signed in to change notification settings - Fork673
Pydantic, would it be worthwhile for us to use it?#1672
-
Usingpydantic would seem to be a good fit for python-gitlab as it helps to check that the data we are receiving is what we expect to receive. Any thoughts on start using pydantic in the code base? |
BetaWas this translation helpful?Give feedback.
All reactions
Replies: 1 comment 1 reply
-
If I get it right from a quick glance, this would mostly be a drop-in and we'd just need to extend If so, would it be an option to add it to |
BetaWas this translation helpful?Give feedback.
All reactions
-
I don't think it would be an "optional" thing. It would be a library we start using to help with data validation. It would be overly complicated if we had multiple classes doing the same thing. One with pydantic support and one without. IMHO. |
BetaWas this translation helpful?Give feedback.