Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for kompatibel (0.04 sec)

  1. fastapi/datastructures.py

            Any next read or write will be done from that position.
    
            To be awaitable, compatible with async, this is run in threadpool.
            """
            return await super().seek(offset)
    
        async def close(self) -> None:
            """
            Close the file.
    
            To be awaitable, compatible with async, this is run in threadpool.
            """
            return await super().close()
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  2. fastapi/_compat/shared.py

    from pydantic import BaseModel
    from pydantic.version import VERSION as PYDANTIC_VERSION
    from starlette.datastructures import UploadFile
    from typing_extensions import get_args, get_origin
    
    # Copy from Pydantic v2, compatible with v1
    if sys.version_info < (3, 10):
        WithArgsTypes: tuple[Any, ...] = (typing._GenericAlias, types.GenericAlias)  # type: ignore[attr-defined]
    else:
        WithArgsTypes: tuple[Any, ...] = (
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  3. fastapi/encoders.py

        You can also use it yourself, for example to convert objects before saving them
        in a database that supports only JSON.
    
        Read more about it in the
        [FastAPI docs for JSON Compatible Encoder](https://fastapi.tiangolo.com/tutorial/encoder/).
        """
        custom_encoder = custom_encoder or {}
        if custom_encoder:
            if type(obj) in custom_encoder:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  4. fastapi/_compat/v2.py

    @lru_cache
    def get_cached_model_fields(model: type[BaseModel]) -> list[ModelField]:
        return get_model_fields(model)  # type: ignore[return-value]
    
    
    # Duplicate of several schema functions from Pydantic v1 to make them compatible with
    # Pydantic v2 and allow mixing the models
    
    TypeModelOrEnum = Union[type["BaseModel"], type[Enum]]
    TypeModelSet = set[TypeModelOrEnum]
    
    
    def normalize_name(name: str) -> str:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 19.1K bytes
    - Viewed (0)
  5. docs/en/docs/release-notes.md

            * `Path`
            * `Query`
            * ...as these are compatible with the WebSockets protocol (e.g. `Body` is not).
        * [Updated documentation for WebSockets](https://fastapi.tiangolo.com/advanced/websockets/).
        * PR [#178](https://github.com/tiangolo/fastapi/pull/178) by [@jekirl](https://github.com/jekirl).
    
    * Upgrade the compatible version of Pydantic to `0.26.0`.
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 19:06:15 UTC 2025
    - 586.7K bytes
    - Viewed (0)
Back to top