News for hackers. Stuff that matters.
Re:Take a look at traefik, even if you don't use containers by ollien on Monday May 06, 2024 @08:44AM (#40273977)
Pydantic falls into this box for me. The maintainer refuses to build API reference documentation, as they feel that there should only be one source of information. It's their project, of course, but every time I need to find a method on an object, I am scouring pages of prose for it. Sometimes it's just easier to read the source.
Re:Take a look at traefik, even if you don't use containers by aeyes on Monday May 06, 2024 @09:23AM (#40274351)
What's missing from the existing API documentation?

https://docs.pydantic.dev/latest/api/base_model/

Re:Take a look at traefik, even if you don't use containers by ollien on Monday May 06, 2024 @09:54AM (#40274707)
Oh nice! I'll admit, my comment was based on outdated knowledge (the last time I used Pyandtic for a major project was in 1.x).

https://github.com/pydantic/pydantic/issues/1339

Re:Take a look at traefik, even if you don't use containers by angra_mainyu on Monday May 06, 2024 @11:55AM (#40276081)
Haproxy does the whole documentation side of things very well.

The docs are very straightforward and thorough.