19 Apr
2021
19 Apr
'21
4:15 a.m.
Hi Samuel, I have a naive question about pydantic. IIRC there's something in your tracker about not being able to handle recursive definitions correctly with PEP 563. But I must be misremembering, because PEP 563 actually makes that easier, not harder. Without PEP 563, how does it handle classes like this? @<pydantic decorator> class C: def method(self) -> C: ... (My apologies for not doing more research, but I figured this would be quicker for you to answer than for me to research, given that I've never used pydantic.) -- --Guido van Rossum (python.org/~guido) *Pronouns: he/him **(why is my pronoun here?)* <http://feministing.com/2015/02/03/how-using-they-as-a-singular-pronoun-can-change-the-world/>