Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 3,624 for from (0.79 sec)

  1. docs/de/docs/how-to/migrate-from-pydantic-v1-to-pydantic-v2.md

    # Von Pydantic v1 zu Pydantic v2 migrieren { #migrate-from-pydantic-v1-to-pydantic-v2 }
    
    Wenn Sie eine ältere FastAPI-App haben, nutzen Sie möglicherweise Pydantic Version 1.
    
    FastAPI Version 0.100.0 unterstützte sowohl Pydantic v1 als auch v2. Es verwendete, was auch immer Sie installiert hatten.
    
    FastAPI Version 0.119.0 führte eine teilweise Unterstützung für Pydantic v1 innerhalb von Pydantic v2 (als `pydantic.v1`) ein, um die Migration zu v2 zu erleichtern.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 24 10:28:19 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  2. docs/ru/docs/how-to/migrate-from-pydantic-v1-to-pydantic-v2.md

    # Миграция с Pydantic v1 на Pydantic v2 { #migrate-from-pydantic-v1-to-pydantic-v2 }
    
    Если у вас старое приложение FastAPI, возможно, вы используете Pydantic версии 1.
    
    FastAPI поддерживает и Pydantic v1, и v2 начиная с версии 0.100.0.
    
    Если у вас был установлен Pydantic v2, использовался он. Если вместо этого был установлен Pydantic v1 — использовался он.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 10 20:54:56 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  3. docs/en/docs/how-to/migrate-from-pydantic-v1-to-pydantic-v2.md

    # Migrate from Pydantic v1 to Pydantic v2 { #migrate-from-pydantic-v1-to-pydantic-v2 }
    
    If you have an old FastAPI app, you might be using Pydantic version 1.
    
    FastAPI version 0.100.0 had support for either Pydantic v1 or v2. It would use whichever you had installed.
    
    FastAPI version 0.119.0 introduced partial support for Pydantic v1 from inside of Pydantic v2 (as `pydantic.v1`), to facilitate the migration to v2.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  4. docs/es/docs/how-to/migrate-from-pydantic-v1-to-pydantic-v2.md

    # Migra de Pydantic v1 a Pydantic v2 { #migrate-from-pydantic-v1-to-pydantic-v2 }
    
    Si tienes una app de FastAPI antigua, podrías estar usando Pydantic versión 1.
    
    FastAPI ha tenido compatibilidad con Pydantic v1 o v2 desde la versión 0.100.0.
    
    Si tenías instalado Pydantic v2, lo usaba. Si en cambio tenías Pydantic v1, usaba ese.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 16:16:35 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  5. docs/pt/docs/how-to/migrate-from-pydantic-v1-to-pydantic-v2.md

    # Migrar do Pydantic v1 para o Pydantic v2 { #migrate-from-pydantic-v1-to-pydantic-v2 }
    
    Se você tem uma aplicação FastAPI antiga, pode estar usando o Pydantic versão 1.
    
    O FastAPI tem suporte ao Pydantic v1 ou v2 desde a versão 0.100.0.
    
    Se você tiver o Pydantic v2 instalado, ele será utilizado. Se, em vez disso, tiver o Pydantic v1, será ele que será utilizado.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Nov 12 16:23:57 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  6. fastapi/__init__.py

    from .param_functions import File as File
    from .param_functions import Form as Form
    from .param_functions import Header as Header
    from .param_functions import Path as Path
    from .param_functions import Query as Query
    from .param_functions import Security as Security
    from .requests import Request as Request
    from .responses import Response as Response
    from .routing import APIRouter as APIRouter
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 15:19:50 UTC 2025
    - 1.1K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/request-form-models.md

    You just need to declare a **Pydantic model** with the fields you want to receive as **form fields**, and then declare the parameter as `Form`:
    
    {* ../../docs_src/request_form_models/tutorial001_an_py39.py hl[9:11,15] *}
    
    **FastAPI** will **extract** the data for **each field** from the **form data** in the request and give you the Pydantic model you defined.
    
    ## Check the Docs { #check-the-docs }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  8. fastapi/dependencies/utils.py

    import dataclasses
    import inspect
    import sys
    from collections.abc import Coroutine, Mapping, Sequence
    from contextlib import AsyncExitStack, contextmanager
    from copy import copy, deepcopy
    from dataclasses import dataclass
    from typing import (
        Annotated,
        Any,
        Callable,
        ForwardRef,
        Optional,
        Union,
        cast,
    )
    
    import anyio
    from fastapi import params
    from fastapi._compat import (
        ModelField,
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 37.6K bytes
    - Viewed (3)
  9. docs/en/docs/tutorial/request-files.md

    **FastAPI**'s `UploadFile` inherits directly from **Starlette**'s `UploadFile`, but adds some necessary parts to make it compatible with **Pydantic** and the other parts of FastAPI.
    
    ///
    
    ## What is "Form Data" { #what-is-form-data }
    
    The way HTML forms (`<form></form>`) sends the data to the server normally uses a "special" encoding for that data, it's different from JSON.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  10. fastapi/security/oauth2.py

    from typing import Annotated, Any, Optional, Union, cast
    
    from annotated_doc import Doc
    from fastapi.exceptions import HTTPException
    from fastapi.openapi.models import OAuth2 as OAuth2Model
    from fastapi.openapi.models import OAuthFlows as OAuthFlowsModel
    from fastapi.param_functions import Form
    from fastapi.security.base import SecurityBase
    from fastapi.security.utils import get_authorization_scheme_param
    from starlette.requests import Request
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 22K bytes
    - Viewed (0)
Back to top