You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would probably a good idea to replace trafaret/trafaret-config with pydantic. Trafaret seems somewhat unmaintained and doesn't have any static typing support. Pydantic is likely a better option to use here.
The text was updated successfully, but these errors were encountered:
I wouldn't mind that, however, trafaret used to be very popular among the community the demos come from. So I'd maybe ping @Arfey / @Deepwalker to see what they think. And if they don't mind/respond in like a week, then it's okay to proceed.
Trafaret is maintained. If I do not accept someones PRs it means that I do not think that they are ready to be merged.
About this examples – I did not write them. And I honestly think that pydantic version will be nice addition, as it is popular in community and has wide adoption.
Thanks. The biggest issue is the support for static typing. I like the overall design of trafaret, but without the option to define things with type annotations or have any type safety from the outputs, that basically rules it out for me. We also heavily support static typing across the aio-libs projects, so it feels a bit weird to recommend a library that can easily result in removing a large chunk of type safety from the user's code.
I'd suggest for now, that we try out pydantic in the polls demo/tutorial to see how it looks (though I intend to look at sqlalchemy first in #161).
It would probably a good idea to replace trafaret/trafaret-config with pydantic. Trafaret seems somewhat unmaintained and doesn't have any static typing support. Pydantic is likely a better option to use here.
The text was updated successfully, but these errors were encountered: