- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for is_pydantic_v1_model_instance (0.2 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
fastapi/_compat/__init__.py
from .shared import ( is_bytes_or_nonable_bytes_annotation as is_bytes_or_nonable_bytes_annotation, ) from .shared import is_bytes_sequence_annotation as is_bytes_sequence_annotation from .shared import is_pydantic_v1_model_instance as is_pydantic_v1_model_instance from .shared import ( is_uploadfile_or_nonable_uploadfile_annotation as is_uploadfile_or_nonable_uploadfile_annotation, ) from .shared import (
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Mar 15 11:44:39 GMT 2026 - 2.1K bytes - Click Count (0) -
fastapi/encoders.py
from pydantic.networks import AnyUrl, NameEmail from pydantic.types import SecretBytes, SecretStr from pydantic_core import PydanticUndefinedType from ._compat import ( Url, is_pydantic_v1_model_instance, ) # Taken from Pydantic v1 as is def isoformat(o: datetime.date | datetime.time) -> str: return o.isoformat() # Adapted from Pydantic v1 # TODO: pv2 should this return strings instead?
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Mar 15 11:44:39 GMT 2026 - 10.9K bytes - Click Count (0)