Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Types from typing before Python 3.10 didn't have a
__name__
attribu…
…te, so split it up the hard way since there doesn't appear to be any other way to acess the name. This is the single most frustrating bug to track down since the error is thrown in pydantic but doesn't backtrace through the pydantic.__getattr__ -> `AutoPydanticDocGenerator` -> `__get__` -> `doc_formatter` -> `annotation.__name__` function because all the exceptions are caught the whole way up. GYA!
- Loading branch information