[ty] Pydantic: Support custom `__init__` methods (#26699)
## Summary
A Pydantic model with a base class with a custom `__init__` method
previously prevented us from adding `extra: **Unknown` to the models
constructor.
## Test Plan
Added Markdown tests