pydantic: Using property.getter decorator for a field with an alias
Become part of the top 3% of the developers by applying to Toptal https://topt.al/25cXVn
--
Music by Eric Matyas
https://www.soundimage.org
Track title: Unforgiving Himalayas Looping
--
Chapters
00:00 Question
04:51 Accepted answer (Score 10)
05:58 Answer 2 (Score 2)
06:53 Thank you
--
Full question
https://stackoverflow.com/questions/6326...
Question links:
[nanoid]: https://pypi.org/project/nanoid/
[pydantic treats underscore-prefixed fields as internal and does not expose them]: https://github.com/samuelcolvin/pydantic...
[pydantic's documentation]: https://pydantic-docs.helpmanual.io/usag.../
Accepted answer links:
[issue]: https://github.com/samuelcolvin/pydantic...
[comment]: https://github.com/samuelcolvin/pydantic...
Answer 2 links:
[pydantic validator]: https://pydantic-docs.helpmanual.io/usag...
--
Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...
--
Tags
#python #types #fastapi #pydantic
#avk47
--
Music by Eric Matyas
https://www.soundimage.org
Track title: Unforgiving Himalayas Looping
--
Chapters
00:00 Question
04:51 Accepted answer (Score 10)
05:58 Answer 2 (Score 2)
06:53 Thank you
--
Full question
https://stackoverflow.com/questions/6326...
Question links:
[nanoid]: https://pypi.org/project/nanoid/
[pydantic treats underscore-prefixed fields as internal and does not expose them]: https://github.com/samuelcolvin/pydantic...
[pydantic's documentation]: https://pydantic-docs.helpmanual.io/usag.../
Accepted answer links:
[issue]: https://github.com/samuelcolvin/pydantic...
[comment]: https://github.com/samuelcolvin/pydantic...
Answer 2 links:
[pydantic validator]: https://pydantic-docs.helpmanual.io/usag...
--
Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...
--
Tags
#python #types #fastapi #pydantic
#avk47