Skip to content
Discussion options

You must be logged in to vote

Hi. I do not know what msgspec is, and I do not use it.

Pydantic was not much popular when Kopf was created (2019-2021) or I did not know about it, and therefore did not put it into design.

Its usage was discussed in a few issues. As far as I know, there are other Pydantic-based libraries working as API clients. Kopf is not an API client library.

Today, I find the use of Pydantic or any other validation library impractical: the refactoring will be huge, the backwards compatibility broken, will bring a heavy dependency tree, but the win will be near-zero and for a small share of users.

Specifically: Kopf receives its data from Kubernetes, not from users. Kubernetes cannot be wrong about th…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@mahdihaghverdi
Comment options

Answer selected by mahdihaghverdi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants