Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 652 for tutorial003_py39 (0.87 sec)

  1. docs/es/docs/advanced/websockets.md

    {* ../../docs_src/websockets/tutorial001_py39.py hl[2,6:38,41:43] *}
    
    ## 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)
  2. tests/test_tutorial/test_extra_models/test_tutorial003.py

    from fastapi.testclient import TestClient
    from inline_snapshot import snapshot
    
    from ...utils import needs_py310
    
    
    @pytest.fixture(
        name="client",
        params=[
            pytest.param("tutorial003_py39"),
            pytest.param("tutorial003_py310", marks=needs_py310),
        ],
    )
    def get_client(request: pytest.FixtureRequest):
        mod = importlib.import_module(f"docs_src.extra_models.{request.param}")
    
        client = TestClient(mod.app)
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 6K bytes
    - Viewed (0)
  3. docs/ru/docs/advanced/websockets.md

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

        * You can disable it by setting `redoc_url=None`.
    
    For example, to set Swagger UI to be served at `/documentation` and disable ReDoc:
    
    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/de/docs/advanced/websockets.md

    {* ../../docs_src/websockets/tutorial001_py39.py hl[2,6:38,41:43] *}
    
    ## Einen `websocket` erstellen { #create-a-websocket }
    
    Erstellen Sie in Ihrer **FastAPI**-Anwendung einen `websocket`:
    
    {* ../../docs_src/websockets/tutorial001_py39.py hl[1,46:47] *}
    
    /// note | Technische Details
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/path-params-numeric-validations.md

    {* ../../docs_src/path_params_numeric_validations/tutorial003_py39.py hl[7] *}
    
    ### Better with `Annotated` { #better-with-annotated }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/path-params.md

    {* ../../docs_src/path_params/tutorial003_py39.py hl[6,11] *}
    
    Otherwise, the path for `/users/{user_id}` would match also for `/users/me`, "thinking" that it's receiving a parameter `user_id` with a value of `"me"`.
    
    Similarly, you cannot redefine a path operation:
    
    {* ../../docs_src/path_params/tutorial003b_py39.py hl[6,11] *}
    
    The first one will always be used since the path matches first.
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  8. docs/es/docs/tutorial/path-params.md

    {* ../../docs_src/path_params/tutorial003_py39.py hl[6,11] *}
    
    De lo contrario, el path para `/users/{user_id}` también coincidiría para `/users/me`, "pensando" que está recibiendo un parámetro `user_id` con un valor de `"me"`.
    
    De manera similar, no puedes redefinir una path operation:
    
    {* ../../docs_src/path_params/tutorial003b_py39.py hl[6,11] *}
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  9. docs/pt/docs/tutorial/handling-errors.md

    Nesse cenário, se você precisa manipular essa exceção de modo global com o FastAPI, você pode adicionar um manipulador de exceção customizada com `@app.exception_handler()`.
    
    {* ../../docs_src/handling_errors/tutorial003_py39.py hl[5:7,13:18,24] *}
    
    Nesse cenário, se você fizer uma requisição para `/unicorns/yolo`, a *operação de caminho* vai lançar (`raise`) o `UnicornException`.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  10. docs/es/docs/tutorial/handling-errors.md

    Y quieres manejar esta excepción globalmente con FastAPI.
    
    Podrías agregar un manejador de excepciones personalizado con `@app.exception_handler()`:
    
    {* ../../docs_src/handling_errors/tutorial003_py39.py hl[5:7,13:18,24] *}
    
    Aquí, si solicitas `/unicorns/yolo`, la *path operation* lanzará un `UnicornException`.
    
    Pero será manejado por el `unicorn_exception_handler`.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 9.7K bytes
    - Viewed (0)
Back to top