Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 223 for tutorial004_an_py310 (0.07 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. docs/ru/docs/tutorial/security/oauth2-jwt.md

    {* ../../docs_src/security/tutorial004_an_py310.py hl[90:107] *}
    
    ## Обновление *операции пути* `/token` { #update-the-token-path-operation }
    
    Создайте `timedelta` со временем истечения срока действия токена.
    
    Создайте реальный токен доступа JWT и верните его
    
    {* ../../docs_src/security/tutorial004_an_py310.py hl[118:133] *}
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Sep 30 11:24:39 GMT 2025
    - 19.1K bytes
    - Click Count (0)
  2. docs/en/docs/tutorial/body-multiple-params.md

    ```Python
    q: Union[str, None] = None
    ```
    
    Or in Python 3.10 and above:
    
    ```Python
    q: str | None = None
    ```
    
    For example:
    
    {* ../../docs_src/body_multiple_params/tutorial004_an_py310.py hl[28] *}
    
    
    /// info
    
    `Body` also has all the same extra validation and metadata parameters as `Query`, `Path` and others you will see later.
    
    ///
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Sep 20 12:58:04 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  3. docs/de/docs/tutorial/body-multiple-params.md

    ```Python
    q: Union[str, None] = None
    ```
    
    Oder in Python 3.10 und darüber:
    
    ```Python
    q: str | None = None
    ```
    
    Zum Beispiel:
    
    {* ../../docs_src/body_multiple_params/tutorial004_an_py310.py hl[28] *}
    
    /// info | Info
    
    `Body` hat die gleichen zusätzlichen Validierungs- und Metadaten-Parameter wie `Query`, `Path` und andere, die Sie später kennenlernen werden.
    
    ///
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Sep 20 15:10:09 GMT 2025
    - 5.5K bytes
    - Click Count (0)
  4. docs/es/docs/tutorial/body-multiple-params.md

    ```Python
    q: Union[str, None] = None
    ```
    
    O en Python 3.10 y superior:
    
    ```Python
    q: str | None = None
    ```
    
    Por ejemplo:
    
    {* ../../docs_src/body_multiple_params/tutorial004_an_py310.py hl[28] *}
    
    /// info | Información
    
    `Body` también tiene todos los mismos parámetros de validación y metadatos extras que `Query`, `Path` y otros que verás luego.
    
    ///
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Dec 16 16:33:45 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  5. docs/pt/docs/tutorial/security/oauth2-jwt.md

    {* ../../docs_src/security/tutorial004_an_py310.py hl[90:107] *}
    
    ## Atualize a *operação de rota* `/token` { #update-the-token-path-operation }
    
    Crie um `timedelta` com o tempo de expiração do token.
    
    Crie um token de acesso JWT real e o retorne.
    
    {* ../../docs_src/security/tutorial004_an_py310.py hl[118:133] *}
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Nov 12 16:23:57 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  6. docs/pt/docs/tutorial/body-multiple-params.md

    ```Python
    q: Union[str, None] = None
    ```
    
    Ou como em Python 3.10 e versões superiores:
    
    ```Python
    q: str | None = None
    ```
    
    Por exemplo:
    
    {* ../../docs_src/body_multiple_params/tutorial004_an_py310.py hl[28] *}
    
    /// info | Informação
    
    `Body` também possui todas as validações adicionais e metadados de parâmetros como em `Query`,`Path` e outras que você verá depois.
    
    ///
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Nov 12 16:23:57 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  7. tests/test_tutorial/test_schema_extra_example/test_tutorial004.py

    
    @pytest.fixture(
        name="client",
        params=[
            pytest.param("tutorial004_py39"),
            pytest.param("tutorial004_py310", marks=needs_py310),
            pytest.param("tutorial004_an_py39"),
            pytest.param("tutorial004_an_py310", marks=needs_py310),
        ],
    )
    def get_client(request: pytest.FixtureRequest):
        mod = importlib.import_module(f"docs_src.schema_extra_example.{request.param}")
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  8. docs/de/docs/tutorial/dependencies/classes-as-dependencies.md

    {* ../../docs_src/dependencies/tutorial002_an_py310.py hl[11:15] *}
    
    Achten Sie auf die Methode `__init__`, die zum Erstellen der Instanz der Klasse verwendet wird:
    
    {* ../../docs_src/dependencies/tutorial002_an_py310.py hl[12] *}
    
    ... sie hat die gleichen Parameter wie unsere vorherige `common_parameters`:
    
    {* ../../docs_src/dependencies/tutorial001_an_py310.py hl[8] *}
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 7.6K bytes
    - Click Count (0)
  9. docs/zh/docs/tutorial/security/oauth2-jwt.md

    解码并校验接收到的令牌,然后,返回当前用户。
    
    如果令牌无效,则直接返回 HTTP 错误。
    
    {* ../../docs_src/security/tutorial004_an_py310.py hl[4,7,13:15,29:31,79:87] *}
    
    ## 更新 `/token` *路径操作*
    
    用令牌过期时间创建 `timedelta` 对象。
    
    创建并返回真正的 JWT 访问令牌。
    
    {* ../../docs_src/security/tutorial004_an_py310.py hl[118:133] *}
    
    ### JWT `sub` 的技术细节
    
    JWT 规范还包括 `sub` 键,值是令牌的主题。
    
    该键是可选的,但要把用户标识放在这个键里,所以本例使用了该键。
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 18 02:25:44 GMT 2024
    - 8.9K bytes
    - Click Count (0)
  10. docs/en/docs/tutorial/dependencies/classes-as-dependencies.md

    {* ../../docs_src/dependencies/tutorial002_an_py310.py hl[11:15] *}
    
    Pay attention to the `__init__` method used to create the instance of the class:
    
    {* ../../docs_src/dependencies/tutorial002_an_py310.py hl[12] *}
    
    ...it has the same parameters as our previous `common_parameters`:
    
    {* ../../docs_src/dependencies/tutorial001_an_py310.py hl[8] *}
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 6.7K bytes
    - Click Count (0)
Back to Top