You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As I am using Pydantic in the context of FastAPI, using a Pydantic type for internal (non-user-facing) types was my first thought, as im already using it for user-facing components.
Initial Checks
Description
Pydantic does not allow contextlib.ExitStack nor contextlib.AsyncExitStack in models.
As I am using Pydantic in the context of FastAPI, using a Pydantic type for internal (non-user-facing) types was my first thought, as im already using it for user-facing components.
Example Code
Python, Pydantic & OS Version
The text was updated successfully, but these errors were encountered: