Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 548 for details (0.14 sec)

  1. docs/bn/docs/index.md

    @app.get("/")
    def read_root():
        return {"Hello": "World"}
    
    
    @app.get("/items/{item_id}")
    def read_item(item_id: int, q: Union[str, None] = None):
        return {"item_id": item_id, "q": q}
    ```
    
    <details markdown="1">
    <summary>অথবা ব্যবহার করুন <code>async def</code>...</summary>
    
    যদি আপনার কোড `async` / `await`, ব্যবহার করে তাহলে `async def` ব্যবহার করুন:
    
    ```Python hl_lines="9  14"
    from typing import Union
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 23:58:47 GMT 2024
    - 30.2K bytes
    - Viewed (0)
  2. docs/en/docs/how-to/custom-request-and-route.md

    Here we use it to create a `GzipRequest` from the original request.
    
    ```Python hl_lines="18-26"
    {!../../../docs_src/custom_request_and_route/tutorial001.py!}
    ```
    
    !!! note "Technical Details"
        A `Request` has a `request.scope` attribute, that's just a Python `dict` containing the metadata related to the request.
    
        A `Request` also has a `request.receive`, that's a function to "receive" the body of the request.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sun Mar 31 23:52:53 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  3. docs/de/docs/advanced/events.md

    Aus diesem Grund wird jetzt empfohlen, stattdessen `lifespan` wie oben erläutert zu verwenden.
    
    ## Technische Details
    
    Nur ein technisches Detail für die neugierigen Nerds. 🤓
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:30:59 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  4. docs/de/docs/tutorial/path-operation-configuration.md

        ```Python hl_lines="3  17"
        {!> ../../../docs_src/path_operation_configuration/tutorial001.py!}
        ```
    
    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.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 18:07:48 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/bigger-applications.md

    {!../../../docs_src/bigger_applications/app/main.py!}
    ```
    
    and it will work correctly, together with all the other *path operations* added with `app.include_router()`.
    
    !!! info "Very Technical Details"
        **Note**: this is a very technical detail that you probably can **just skip**.
    
        ---
    
        The `APIRouter`s are not "mounted", they are not isolated from the rest of the application.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 18.6K bytes
    - Viewed (0)
  6. docs/de/docs/advanced/websockets.md

    ```
    
    ## Einen `websocket` erstellen
    
    Erstellen Sie in Ihrer **FastAPI**-Anwendung einen `websocket`:
    
    ```Python hl_lines="1  46-47"
    {!../../../docs_src/websockets/tutorial001.py!}
    ```
    
    !!! note "Technische Details"
        Sie können auch `from starlette.websockets import WebSocket` verwenden.
    
        **FastAPI** stellt den gleichen `WebSocket` direkt zur Verfügung, als Annehmlichkeit für Sie, den Entwickler. Er kommt aber direkt von Starlette.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:17:58 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  7. docs/en/docs/fastapi-people.md

    {% endif %}
    {% endfor %}
    
    </div>
    
    {% endfor %}
    {% endif %}
    
    ## About the data - technical details
    
    The main intention of this page is to highlight the effort of the community to help others.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 16 23:54:24 GMT 2024
    - 8.7K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/security/first-steps.md

    **FastAPI** will know that it can use this dependency to define a "security scheme" in the OpenAPI schema (and the automatic API docs).
    
    !!! info "Technical Details"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Wed Mar 13 19:02:19 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  9. docs/de/docs/tutorial/path-params-numeric-validations.md

        Sie alle teilen die gleichen Parameter für zusätzliche Validierung und Metadaten, die Sie gesehen haben.
    
    !!! note "Technische Details"
        `Query`, `Path` und andere, die Sie von `fastapi` importieren, sind tatsächlich Funktionen.
    
        Die, wenn sie aufgerufen werden, Instanzen der Klassen mit demselben Namen zurückgeben.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 17:59:29 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  10. docs/ru/docs/tutorial/request-files.md

        ```Python hl_lines="10  15"
        {!> ../../../docs_src/request_files/tutorial002.py!}
        ```
    
    Вы получите, как и было объявлено, список `list` из `bytes` или `UploadFile`.
    
    !!! note "Technical Details"
        Можно также использовать `from starlette.responses import HTMLResponse`.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Wed Mar 13 19:02:19 GMT 2024
    - 15.4K bytes
    - Viewed (0)
Back to top