Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1031 - 1040 of 1,992 for Fastapi (0.04 sec)

  1. docs/es/docs/tutorial/static-files.md

    {* ../../docs_src/static_files/tutorial001_py39.py hl[2,6] *}
    
    /// note | Detalles Técnicos
    
    También podrías usar `from starlette.staticfiles import StaticFiles`.
    
    **FastAPI** proporciona el mismo `starlette.staticfiles` como `fastapi.staticfiles` solo como una conveniencia para ti, el desarrollador. Pero en realidad viene directamente de Starlette.
    
    ///
    
    ### Qué es "Montar" { #what-is-mounting }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  2. docs/pt/docs/tutorial/body.md

    * Se o parâmetro é declarado como um **modelo Pydantic**, será interpretado como o **corpo** da requisição.
    
    /// note | Nota
    
    O FastAPI saberá que o valor de `q` não é obrigatório por causa do valor padrão `= None`.
    
    O `str | None` (Python 3.10+) ou o `Union` em `Union[str, None]` (Python 3.9+) não é utilizado pelo FastAPI para determinar que o valor não é obrigatório, ele saberá que não é obrigatório porque tem um valor padrão `= None`.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_custom_response/test_tutorial006b.py

    from fastapi.testclient import TestClient
    
    from docs_src.custom_response.tutorial006b_py39 import app
    
    client = TestClient(app)
    
    
    def test_redirect_response_class():
        response = client.get("/fastapi", follow_redirects=False)
        assert response.status_code == 307
        assert response.headers["location"] == "https://fastapi.tiangolo.com"
    
    
    def test_openapi_schema():
        response = client.get("/openapi.json")
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 904 bytes
    - Viewed (0)
  4. docs/zh/docs/advanced/index.md

    # 高级用户指南
    
    ## 额外特性
    
    主要的教程 [教程 - 用户指南](../tutorial/index.md){.internal-link target=_blank} 应该足以让你了解 **FastAPI** 的所有主要特性。
    
    你会在接下来的章节中了解到其他的选项、配置以及额外的特性。
    
    /// tip
    
    接下来的章节**并不一定是**「高级的」。
    
    而且对于你的使用场景来说,解决方案很可能就在其中。
    
    ///
    
    ## 先阅读教程
    
    你可能仍会用到 **FastAPI** 主教程 [教程 - 用户指南](../tutorial/index.md){.internal-link target=_blank} 中的大多数特性。
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 770 bytes
    - Viewed (0)
  5. tests/test_tutorial/test_debugging/test_tutorial001.py

    import importlib
    import runpy
    import sys
    import unittest
    
    import pytest
    from fastapi.testclient import TestClient
    
    MOD_NAME = "docs_src.debugging.tutorial001_py39"
    
    
    @pytest.fixture(name="client")
    def get_client():
        mod = importlib.import_module(MOD_NAME)
        client = TestClient(mod.app)
        return client
    
    
    def test_uvicorn_run_is_not_called_on_import():
        if sys.modules.get(MOD_NAME):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_dependencies/test_tutorial008c.py

    import importlib
    from types import ModuleType
    
    import pytest
    from fastapi.exceptions import FastAPIError
    from fastapi.testclient import TestClient
    
    
    @pytest.fixture(
        name="mod",
        params=[
            pytest.param("tutorial008c_py39"),
            pytest.param("tutorial008c_an_py39"),
        ],
    )
    def get_mod(request: pytest.FixtureRequest):
        mod = importlib.import_module(f"docs_src.dependencies.{request.param}")
    
        return mod
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  7. docs/ko/docs/tutorial/background-tasks.md

    {* ../../docs_src/background_tasks/tutorial001.py hl[1,13] *}
    
    **FastAPI** 는 `BackgroundTasks` 개체를 생성하고, 매개 변수로 전달합니다.
    
    ## 작업 함수 생성
    
    백그라운드 작업으로 실행할 함수를 정의합니다.
    
    이것은 단순히 매개변수를 받을 수 있는 표준 함수일 뿐입니다.
    
    **FastAPI**는 이것이 `async def` 함수이든, 일반 `def` 함수이든 내부적으로 이를 올바르게 처리합니다.
    
    이 경우, 아래 작업은 파일에 쓰는 함수입니다. (이메일 보내기 시물레이션)
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Oct 11 17:48:49 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  8. CITATION.cff

    cff-version: 1.2.0
    title: FastAPI
    message: >-
      If you use this software, please cite it using the
      metadata from this file.
    type: software
    authors:
      - given-names: Sebastián
        family-names: Ramírez
        email: ******@****.***
    identifiers:
    repository-code: 'https://github.com/fastapi/fastapi'
    url: 'https://fastapi.tiangolo.com'
    abstract: >-
      FastAPI framework, high performance, easy to learn, fast to code,
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Jul 29 23:35:07 UTC 2024
    - 614 bytes
    - Viewed (0)
  9. docs/fr/docs/alternatives.md

    quelque chose qu'un framework comme Starlette (ou **FastAPI**) fournirait par-dessus.
    
    C'est le serveur recommandé pour Starlette et **FastAPI**.
    
    /// check | **FastAPI** le recommande comme
    
    Le serveur web principal pour exécuter les applications **FastAPI**.
    
    Vous pouvez le combiner avec Gunicorn, pour avoir un serveur multi-processus asynchrone.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Oct 11 17:48:49 UTC 2025
    - 27.5K bytes
    - Viewed (0)
  10. docs/fr/docs/async.md

    ---
    
    **Note** : vous pouvez mélanger `def` et `async def` dans vos *fonctions de chemin* autant que nécessaire, **FastAPI** saura faire ce qu'il faut avec.
    
    Au final, peu importe le cas parmi ceux ci-dessus, **FastAPI** fonctionnera de manière asynchrone et sera extrêmement rapide.
    
    Mais si vous suivez bien les instructions ci-dessus, alors **FastAPI** pourra effectuer quelques optimisations et ainsi améliorer les performances.
    
    ## Détails techniques
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Aug 31 09:56:21 UTC 2025
    - 25.4K bytes
    - Viewed (0)
Back to top