Search Options

Results per page
Sort
Preferred Languages
Advance

Results 951 - 960 of 1,992 for Fastapi (0.26 sec)

  1. docs/ru/docs/tutorial/index.md

    ---
    
    ## Установка FastAPI { #install-fastapi }
    
    Первый шаг — установить FastAPI.
    
    Убедитесь, что вы создали [виртуальное окружение](../virtual-environments.md){.internal-link target=_blank}, активировали его, и затем **установите FastAPI**:
    
    <div class="termy">
    
    ```console
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Sep 30 11:24:39 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  2. docs_src/query_params_str_validations/tutorial015_an_py310.py

    import random
    from typing import Annotated
    
    from fastapi import FastAPI
    from pydantic import AfterValidator
    
    app = FastAPI()
    
    data = {
        "isbn-9781529046137": "The Hitchhiker's Guide to the Galaxy",
        "imdb-tt0371724": "The Hitchhiker's Guide to the Galaxy",
        "isbn-9781439512982": "Isaac Asimov: The Complete Stories, Vol. 2",
    }
    
    
    def check_valid_id(id: str):
        if not id.startswith(("isbn-", "imdb-")):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Mar 01 22:02:35 UTC 2025
    - 768 bytes
    - Viewed (0)
  3. docs/uk/docs/tutorial/debugging.md

    ---
    
    Наприклад, у Visual Studio Code Ви можете:
    
    * Перейдіть на вкладку "Debug".
    * Натисніть "Add configuration...".
    * Виберіть "Python"
    * Запустіть дебагер з опцією "`Python: Current File (Integrated Terminal)`".
    
    Це запустить сервер з Вашим **FastAPI** кодом, зупиниться на точках зупину тощо.
    
    Ось як це може виглядати:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Feb 28 14:24:45 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  4. docs/fr/docs/advanced/additional-status-codes.md

    ///
    
    /// note | Détails techniques
    
    Vous pouvez également utiliser `from starlette.responses import JSONResponse`.
    
    Pour plus de commodités, **FastAPI** fournit les objets `starlette.responses` sous forme d'un alias accessible par `fastapi.responses`. Mais la plupart des réponses disponibles proviennent directement de Starlette. Il en est de même avec l'objet `statut`.
    
    ///
    
    ## Documents OpenAPI et API
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  5. tests/test_top_level_security_scheme_in_openapi.py

    # Test security scheme at the top level, including OpenAPI
    # Ref: https://github.com/fastapi/fastapi/discussions/14263
    # Ref: https://github.com/fastapi/fastapi/issues/14271
    from fastapi import Depends, FastAPI
    from fastapi.security import HTTPBearer
    from fastapi.testclient import TestClient
    from inline_snapshot import snapshot
    
    app = FastAPI()
    
    bearer_scheme = HTTPBearer()
    
    
    @app.get("/", dependencies=[Depends(bearer_scheme)])
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 24 19:03:06 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  6. docs/de/docs/tutorial/path-operation-configuration.md

    Dieser Statuscode wird in der Response verwendet und zum OpenAPI-Schema hinzugefügt.
    
    /// note | Technische Details
    
    Sie können auch `from starlette import status` verwenden.
    
    **FastAPI** bietet dieselben `starlette.status`-Codes auch via `fastapi.status` an, als Annehmlichkeit für Sie, den Entwickler. Sie kommen aber direkt von Starlette.
    
    ///
    
    ## Tags { #tags }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  7. docs/ru/docs/tutorial/path-operation-configuration.md

    Этот статус-код будет использован в ответе и будет добавлен в схему OpenAPI.
    
    /// note | Технические детали
    
    Вы также можете использовать `from starlette import status`.
    
    **FastAPI** предоставляет тот же `starlette.status` под псевдонимом `fastapi.status` для удобства разработчика. Но его источник - это непосредственно Starlette.
    
    ///
    
    ## Теги { #tags }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/path-operation-configuration.md

    That status code will be used in the response and will be added to the OpenAPI schema.
    
    /// note | Technical Details
    
    You could also use `from starlette import status`.
    
    **FastAPI** provides the same `starlette.status` as `fastapi.status` just as a convenience for you, the developer. But it comes directly from Starlette.
    
    ///
    
    ## Tags { #tags }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  9. tests/test_tuples.py

    from fastapi import FastAPI, Form
    from fastapi.testclient import TestClient
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class ItemGroup(BaseModel):
        items: list[tuple[str, str]]
    
    
    class Coordinate(BaseModel):
        x: float
        y: float
    
    
    @app.post("/model-with-tuple/")
    def post_model_with_tuple(item_group: ItemGroup):
        return item_group
    
    
    @app.post("/tuple-of-models/")
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  10. docs/tr/docs/tutorial/request-forms.md

    Örneğin `pip install python-multipart`.
    
    ///
    
    ## `Form` Sınıfını Projenize Dahil Edin
    
    `Form` sınıfını `fastapi`'den projenize dahil edin:
    
    {* ../../docs_src/request_forms/tutorial001_an_py39.py hl[3] *}
    
    ## `Form` Parametrelerini Tanımlayın
    
    Form parametrelerini `Body` veya `Query` için yaptığınız gibi oluşturun:
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 3.1K bytes
    - Viewed (0)
Back to top