Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 279 for tutorial011_an_py310 (2.27 sec)

  1. docs/en/docs/tutorial/extra-data-types.md

    Here's an example *path operation* with parameters using some of the above types.
    
    {* ../../docs_src/extra_data_types/tutorial001_an_py310.py hl[1,3,12:16] *}
    
    Note that the parameters inside the function have their natural data type, and you can, for example, perform normal date manipulations, like:
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  2. docs/es/docs/tutorial/extra-data-types.md

    {* ../../docs_src/extra_data_types/tutorial001_an_py310.py hl[1,3,12:16] *}
    
    Nota que los parámetros dentro de la función tienen su tipo de dato natural, y puedes, por ejemplo, realizar manipulaciones de fechas normales, como:
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 16:33:45 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  3. docs/es/docs/tutorial/body-fields.md

    ## Importar `Field` { #import-field }
    
    Primero, tienes que importarlo:
    
    {* ../../docs_src/body_fields/tutorial001_an_py310.py hl[4] *}
    
    /// warning | Advertencia
    
    Fíjate que `Field` se importa directamente desde `pydantic`, no desde `fastapi` como el resto (`Query`, `Path`, `Body`, etc).
    
    ///
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 16:33:45 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/dependencies/sub-dependencies.md

    **FastAPI** will take care of solving them.
    
    ## First dependency "dependable" { #first-dependency-dependable }
    
    You could create a first dependency ("dependable") like:
    
    {* ../../docs_src/dependencies/tutorial005_an_py310.py hl[8:9] *}
    
    It declares an optional query parameter `q` as a `str`, and then it just returns it.
    
    This is quite simple (not very useful), but will help us focus on how the sub-dependencies work.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  5. docs/de/docs/advanced/security/oauth2-scopes.md

    {* ../../docs_src/security/tutorial005_an_py310.py hl[5,9,13,47,65,106,108:116,122:126,130:136,141,157] *}
    
    Sehen wir uns diese Änderungen nun Schritt für Schritt an.
    
    ## OAuth2-Sicherheitsschema { #oauth2-security-scheme }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Sep 20 15:10:09 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  6. docs/es/docs/tutorial/dependencies/sub-dependencies.md

    **FastAPI** se encargará de resolverlas.
    
    ## Primera dependencia "dependable" { #first-dependency-dependable }
    
    Podrías crear una primera dependencia ("dependable") así:
    
    {* ../../docs_src/dependencies/tutorial005_an_py310.py hl[8:9] *}
    
    Declara un parámetro de query opcional `q` como un `str`, y luego simplemente lo devuelve.
    
    Esto es bastante simple (no muy útil), pero nos ayudará a centrarnos en cómo funcionan las sub-dependencias.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/security/get-current-user.md

    {* ../../docs_src/security/tutorial002_an_py310.py hl[25] *}
    
    ## Get the user { #get-the-user }
    
    `get_current_user` will use a (fake) utility function we created, that takes a token as a `str` and returns our Pydantic `User` model:
    
    {* ../../docs_src/security/tutorial002_an_py310.py hl[19:22,26:27] *}
    
    ## Inject the current user { #inject-the-current-user }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 4K bytes
    - Viewed (0)
  8. docs/de/docs/tutorial/security/get-current-user.md

    {* ../../docs_src/security/tutorial002_an_py310.py hl[25] *}
    
    ## Den Benutzer abrufen { #get-the-user }
    
    `get_current_user` wird eine von uns erstellte (gefakte) Hilfsfunktion verwenden, welche einen Token vom Typ `str` entgegennimmt und unser Pydantic-`User`-Modell zurückgibt:
    
    {* ../../docs_src/security/tutorial002_an_py310.py hl[19:22,26:27] *}
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Sep 20 15:10:09 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  9. docs/zh/docs/tutorial/extra-data-types.md

    ## 例子
    
    下面是一个*路径操作*的示例,其中的参数使用了上面的一些类型。
    
    {* ../../docs_src/extra_data_types/tutorial001_an_py310.py hl[1,3,12:16] *}
    
    注意,函数内的参数有原生的数据类型,你可以,例如,执行正常的日期操作,如:
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  10. docs/de/docs/tutorial/cookie-params.md

    {* ../../docs_src/cookie_params/tutorial001_an_py310.py hl[3] *}
    
    ## `Cookie`-Parameter deklarieren { #declare-cookie-parameters }
    
    Deklarieren Sie dann die Cookie-Parameter mit derselben Struktur wie bei `Path` und `Query`.
    
    Sie können den Defaultwert sowie alle zusätzlichen Validierungen oder Annotierungsparameter definieren:
    
    {* ../../docs_src/cookie_params/tutorial001_an_py310.py hl[9] *}
    
    /// note | Technische Details
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Sep 24 08:10:28 UTC 2025
    - 1.8K bytes
    - Viewed (0)
Back to top