Search Options

Results per page
Sort
Preferred Languages
Advance

Results 311 - 320 of 1,916 for FastApi (0.11 sec)

  1. docs/ru/docs/advanced/advanced-dependencies.md

    Они полезны главным образом, если у вас было приложение FastAPI версии ниже 0.121.0 и вы столкнулись с проблемами зависимостей с `yield`.
    
    ///
    
    Зависимости с `yield` со временем изменялись, чтобы учитывать разные случаи применения и исправлять проблемы. Ниже — краткое резюме изменений.
    
    ### Зависимости с `yield` и `scope` { #dependencies-with-yield-and-scope }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Thu Dec 11 21:25:03 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  2. docs/en/mkdocs.yml

      - search.share
      - search.suggest
      - toc.follow
      icon:
        repo: fontawesome/brands/github-alt
      logo: img/icon-white.svg
      favicon: img/favicon.png
      language: en
    repo_name: fastapi/fastapi
    repo_url: https://github.com/fastapi/fastapi
    plugins:
      social:
        cards_layout_options:
          logo: ../en/docs/img/icon-white.svg
      typeset: null
      search: null
      macros:
        include_yaml:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 10:44:55 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  3. docs/en/docs/reference/httpconnection.md

    You can import it from `fastapi.requests`:
    
    ```python
    from fastapi.requests import HTTPConnection
    ```
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 359 bytes
    - Viewed (0)
  4. docs/en/docs/advanced/generate-clients.md

    /// tip
    
    FastAPI automatically generates **OpenAPI 3.1** specifications, so any tool you use must support this version.
    
    ///
    
    ## SDK Generators from FastAPI Sponsors { #sdk-generators-from-fastapi-sponsors }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 10.1K bytes
    - Viewed (1)
  5. tests/test_compat.py

    from fastapi import FastAPI, UploadFile
    from fastapi._compat import (
        Undefined,
        is_uploadfile_sequence_annotation,
    )
    from fastapi._compat.shared import is_bytes_sequence_annotation
    from fastapi.testclient import TestClient
    from pydantic import BaseModel, ConfigDict
    from pydantic.fields import FieldInfo
    
    from .utils import needs_py310
    
    
    def test_model_field_default_required():
        from fastapi._compat import v2
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  6. docs/es/docs/advanced/websockets.md

    ## Crear un `websocket` { #create-a-websocket }
    
    En tu aplicación de **FastAPI**, crea un `websocket`:
    
    {* ../../docs_src/websockets/tutorial001_py39.py hl[1,46:47] *}
    
    /// note | Detalles Técnicos
    
    También podrías usar `from starlette.websockets import WebSocket`.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  7. docs_src/path_params_numeric_validations/tutorial001_py39.py

    from typing import Union
    
    from fastapi import FastAPI, Path, Query
    
    app = FastAPI()
    
    
    @app.get("/items/{item_id}")
    async def read_items(
        item_id: int = Path(title="The ID of the item to get"),
        q: Union[str, None] = Query(default=None, alias="item-query"),
    ):
        results = {"item_id": item_id}
        if q:
            results.update({"q": q})
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 364 bytes
    - Viewed (0)
  8. docs/ru/docs/advanced/websockets.md

    ## Создание `websocket` { #create-a-websocket }
    
    Создайте `websocket` в своем **FastAPI** приложении:
    
    {* ../../docs_src/websockets/tutorial001_py39.py hl[1,46:47] *}
    
    /// note | Технические детали
    
    Вы также можете использовать `from starlette.websockets import WebSocket`.
    
    **FastAPI** напрямую предоставляет тот же самый `WebSocket` просто для удобства. На самом деле это `WebSocket` из Starlette.
    
    ///
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  9. tests/test_security_api_key_query_optional.py

    from typing import Optional
    
    from fastapi import Depends, FastAPI, Security
    from fastapi.security import APIKeyQuery
    from fastapi.testclient import TestClient
    from pydantic import BaseModel
    
    app = FastAPI()
    
    api_key = APIKeyQuery(name="key", auto_error=False)
    
    
    class User(BaseModel):
        username: str
    
    
    def get_current_user(oauth_header: Optional[str] = Security(api_key)):
        if oauth_header is None:
            return None
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 2K bytes
    - Viewed (0)
  10. tests/test_security_http_digest.py

    from fastapi import FastAPI, Security
    from fastapi.security import HTTPAuthorizationCredentials, HTTPDigest
    from fastapi.testclient import TestClient
    
    app = FastAPI()
    
    security = HTTPDigest()
    
    
    @app.get("/users/me")
    def read_current_user(credentials: HTTPAuthorizationCredentials = Security(security)):
        return {"scheme": credentials.scheme, "credentials": credentials.credentials}
    
    
    client = TestClient(app)
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 24 19:03:06 UTC 2025
    - 2.1K bytes
    - Viewed (0)
Back to top