Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 123 for tutorial001_02_py39 (0.07 sec)

  1. docs/de/docs/tutorial/security/get-current-user.md

    Im vorherigen Kapitel hat das Sicherheitssystem (das auf dem Dependency Injection System basiert) der *Pfadoperation-Funktion* einen `token` vom Typ `str` überreicht:
    
    {* ../../docs_src/security/tutorial001_an_py39.py hl[12] *}
    
    Aber das ist immer noch nicht so nützlich.
    
    Lassen wir es uns den aktuellen Benutzer überreichen.
    
    ## Ein Benutzermodell erstellen { #create-a-user-model }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Sep 20 15:10:09 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  2. docs/de/docs/tutorial/metadata.md

    ## Lizenzkennung { #license-identifier }
    
    Seit OpenAPI 3.1.0 und FastAPI 0.99.0 können Sie die `license_info` auch mit einem `identifier` anstelle einer `url` festlegen.
    
    Zum Beispiel:
    
    {* ../../docs_src/metadata/tutorial001_1_py39.py hl[31] *}
    
    ## Metadaten für Tags { #metadata-for-tags }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  3. docs/es/docs/tutorial/metadata.md

    Desde OpenAPI 3.1.0 y FastAPI 0.99.0, también puedes establecer la `license_info` con un `identifier` en lugar de una `url`.
    
    Por ejemplo:
    
    {* ../../docs_src/metadata/tutorial001_1_py39.py hl[31] *}
    
    ## Metadata para etiquetas { #metadata-for-tags }
    
    También puedes agregar metadata adicional para las diferentes etiquetas usadas para agrupar tus path operations con el parámetro `openapi_tags`.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/metadata.md

    ## License identifier { #license-identifier }
    
    Since OpenAPI 3.1.0 and FastAPI 0.99.0, you can also set the `license_info` with an `identifier` instead of a `url`.
    
    For example:
    
    {* ../../docs_src/metadata/tutorial001_1_py39.py hl[31] *}
    
    ## Metadata for tags { #metadata-for-tags }
    
    You can also add additional metadata for the different tags used to group your path operations with the parameter `openapi_tags`.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  5. docs/pt/docs/tutorial/security/get-current-user.md

    No capítulo anterior, o sistema de segurança (que é baseado no sistema de injeção de dependências) estava fornecendo à *função de operação de rota* um `token` como uma `str`:
    
    {* ../../docs_src/security/tutorial001_an_py39.py hl[12] *}
    
    Mas isso ainda não é tão útil.
    
    Vamos fazer com que ele nos forneça o usuário atual.
    
    ## Criar um modelo de usuário { #create-a-user-model }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Nov 12 16:23:57 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  6. docs/zh/docs/tutorial/security/first-steps.md

    但为了节省开发者的时间,不要只为了查找很少的内容,不得不阅读冗长的规范文档。
    
    我们建议使用 **FastAPI** 的安全工具。
    
    ## 概览
    
    首先,看看下面的代码是怎么运行的,然后再回过头来了解其背后的原理。
    
    ## 创建 `main.py`
    
    把下面的示例代码复制到 `main.py`:
    
    {* ../../docs_src/security/tutorial001_an_py39.py *}
    
    ## 运行
    
    /// info | 说明
    
    先安装 <a href="https://github.com/Kludex/python-multipart" class="external-link" target="_blank">`python-multipart`</a>。
    
    安装命令: `pip install python-multipart`。
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 7K bytes
    - Viewed (0)
  7. docs/pt/docs/tutorial/metadata.md

    ## Identificador de Licença { #license-identifier }
    
    Desde o OpenAPI 3.1.0 e FastAPI 0.99.0, você também pode definir o license_info com um identifier em vez de uma url.
    
    Por exemplo:
    
    {* ../../docs_src/metadata/tutorial001_1_py39.py hl[31] *}
    
    ## Metadados para tags { #metadata-for-tags }
    
    Você também pode adicionar metadados adicionais para as diferentes tags usadas para agrupar suas operações de rota com o parâmetro `openapi_tags`.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  8. docs/zh/docs/tutorial/request-files.md

    这不是 **FastAPI** 的问题,而是 HTTP 协议的规定。
    
    ///
    
    ## 可选文件上传
    
    您可以通过使用标准类型注解并将 None 作为默认值的方式将一个文件参数设为可选:
    
    {* ../../docs_src/request_files/tutorial001_02_py310.py hl[7,14] *}
    
    ## 带有额外元数据的 `UploadFile`
    
    您也可以将 `File()` 与 `UploadFile` 一起使用,例如,设置额外的元数据:
    
    {* ../../docs_src/request_files/tutorial001_03.py hl[13] *}
    
    ## 多文件上传
    
    FastAPI 支持同时上传多个文件。
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  9. docs/pt/docs/advanced/behind-a-proxy.md

    ```
    
    </div>
    
    ### Redirecionamentos com HTTPS { #redirects-with-https }
    
    Por exemplo, suponha que você defina uma *operação de rota* `/items/`:
    
    {* ../../docs_src/behind_a_proxy/tutorial001_01_py39.py hl[6] *}
    
    Se o cliente tentar ir para `/items`, por padrão, ele seria redirecionado para `/items/`.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  10. docs/ru/docs/advanced/behind-a-proxy.md

    ```
    
    </div>
    
    ### Редиректы с HTTPS { #redirects-with-https }
    
    Например, вы объявили операцию пути `/items/`:
    
    {* ../../docs_src/behind_a_proxy/tutorial001_01_py39.py hl[6] *}
    
    Если клиент обратится к `/items`, по умолчанию произойдёт редирект на `/items/`.
    
    Но до установки опции `--forwarded-allow-ips` редирект может вести на `http://localhost:8000/items/`.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 23.2K bytes
    - Viewed (0)
Back to top