Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 157 for tabs (0.15 sec)

  1. docs/en/docs/how-to/sql-databases-peewee.md

    Then open 10 tabs at <a href="http://127.0.0.1:8000/docs#/default/read_slow_users_slowusers__get" class="external-link" target="_blank">http://127.0.0.1:8000/docs#/default/read_slow_users_slowusers__get</a> at the same time.
    
    Go to the *path operation* "Get `/slowusers/`" in all of the tabs. Use the "Try it out" button and execute the request in each tab, one right after the other.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Jan 16 13:23:25 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  2. docs/en/docs/advanced/websockets.md

    === "Python 3.8+"
    
        ```Python hl_lines="81-83"
        {!> ../../../docs_src/websockets/tutorial003.py!}
        ```
    
    To try it out:
    
    * Open the app with several browser tabs.
    * Write messages from them.
    * Then close one of the tabs.
    
    That will raise the `WebSocketDisconnect` exception, and all the other clients will receive a message like:
    
    ```
    Client #1596980209979 left the chat
    ```
    
    !!! tip
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Jan 11 16:31:18 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  3. docs/en/mkdocs.yml

          name: Switch to light mode
      features:
      - search.suggest
      - search.highlight
      - content.tabs.link
      - navigation.indexes
      - content.tooltips
      - navigation.path
      - content.code.annotate
      - content.code.copy
      - content.code.select
      - navigation.tabs
      icon:
        repo: fontawesome/brands/github-alt
      logo: img/icon-white.svg
      favicon: img/favicon.png
      language: en
    Others
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Mon Apr 01 16:48:56 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  4. docs/de/docs/advanced/websockets.md

        ```Python hl_lines="81-83"
        {!> ../../../docs_src/websockets/tutorial003.py!}
        ```
    
    Zum Ausprobieren:
    
    * Öffnen Sie die Anwendung mit mehreren Browser-Tabs.
    * Schreiben Sie Nachrichten in den Tabs.
    * Schließen Sie dann einen der Tabs.
    
    Das wird die Ausnahme `WebSocketDisconnect` auslösen und alle anderen Clients erhalten eine Nachricht wie:
    
    ```
    Client #1596980209979 left the chat
    ```
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Mar 30 20:17:58 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  5. pyproject.toml

        "UP",  # pyupgrade
    ]
    ignore = [
        "E501",  # line too long, handled by black
        "B008",  # do not perform function calls in argument defaults
        "C901",  # too complex
        "W191",  # indentation contains tabs
    ]
    
    [tool.ruff.lint.per-file-ignores]
    "__init__.py" = ["F401"]
    "docs_src/dependencies/tutorial007.py" = ["F821"]
    "docs_src/dependencies/tutorial008.py" = ["F821"]
    "docs_src/dependencies/tutorial009.py" = ["F821"]
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Apr 02 02:28:39 GMT 2024
    - 7K bytes
    - Viewed (0)
  6. fastapi/applications.py

            ] = "/openapi.json",
            openapi_tags: Annotated[
                Optional[List[Dict[str, Any]]],
                Doc(
                    """
                    A list of tags used by OpenAPI, these are the same `tags` you can set
                    in the *path operations*, like:
    
                    * `@app.get("/users/", tags=["users"])`
                    * `@app.get("/items/", tags=["items"])`
    
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 172.2K bytes
    - Viewed (0)
  7. docs/de/docs/tutorial/metadata.md

    !!! tip "Tipp"
        Sie müssen nicht für alle von Ihnen verwendeten Tags Metadaten hinzufügen.
    
    ### Ihre Tags verwenden
    
    Verwenden Sie den Parameter `tags` mit Ihren *Pfadoperationen* (und `APIRouter`n), um diese verschiedenen Tags zuzuweisen:
    
    ```Python hl_lines="21  26"
    {!../../../docs_src/metadata/tutorial004.py!}
    ```
    
    !!! info
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Mar 30 20:25:38 GMT 2024
    - 6.6K bytes
    - Viewed (0)
  8. docs_src/generate_clients/tutorial002_py39.py

    @app.post("/items/", response_model=ResponseMessage, tags=["items"])
    async def create_item(item: Item):
        return {"message": "Item received"}
    
    
    @app.get("/items/", response_model=list[Item], tags=["items"])
    async def get_items():
        return [
            {"name": "Plumbus", "price": 3},
            {"name": "Portal Gun", "price": 9001},
        ]
    
    
    @app.post("/users/", response_model=ResponseMessage, tags=["users"])
    async def create_user(user: User):
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Mar 04 22:02:18 GMT 2022
    - 730 bytes
    - Viewed (0)
  9. docs/fr/docs/advanced/path-operation-advanced-configuration.md

    Il contient toutes les informations sur le *chemin* et est utilisé pour générer automatiquement la documentation.
    
    Il inclut les `tags`, `parameters`, `requestBody`, `responses`, etc.
    
    Ce schéma OpenAPI spécifique aux *operations* est normalement généré automatiquement par **FastAPI**, mais vous pouvez également l'étendre.
    
    !!! tip "Astuce"
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 8K bytes
    - Viewed (0)
  10. docs/pt/docs/tutorial/path-operation-configuration.md

        **FastAPI** fornece o mesmo `starlette.status` como `fastapi.status` apenas como uma conveniência para você, o desenvolvedor. Mas vem diretamente do Starlette.
    
    ## Tags
    
    Você pode adicionar tags para sua *operação de rota*, passe o parâmetro `tags` com uma `list` de `str` (comumente apenas um `str`):
    
    === "Python 3.8 and above"
    
        ```Python hl_lines="17  22  27"
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Oct 17 05:59:11 GMT 2023
    - 5.9K bytes
    - Viewed (0)
Back to top