Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for inline (0.15 sec)

  1. docs/en/docs/advanced/generate-clients.md

    <img src="/img/tutorial/generate-clients/image08.png">
    
    ## Benefits
    
    When using the automatically generated clients you would get **autocompletion** for:
    
    * Methods.
    * Request payloads in the body, query parameters, etc.
    * Response payloads.
    
    You would also have **inline errors** for everything.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  2. docs/de/docs/advanced/generate-clients.md

    <img src="/img/tutorial/generate-clients/image08.png">
    
    ## Vorteile
    
    Wenn Sie die automatisch generierten Clients verwenden, erhalten Sie **automatische Codevervollständigung** für:
    
    * Methoden.
    * Request-Payloads im Body, Query-Parameter, usw.
    * Response-Payloads.
    
    Außerdem erhalten Sie für alles **Inline-Fehlerberichte**.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Wed Apr 03 03:42:11 GMT 2024
    - 12K bytes
    - Viewed (0)
  3. docs/de/docs/tutorial/dependencies/index.md

    Die Abhängigkeiten funktionieren weiterhin wie erwartet, und das **Beste daran** ist, dass die **Typinformationen erhalten bleiben**, was bedeutet, dass Ihr Editor Ihnen weiterhin **automatische Vervollständigung**, **Inline-Fehler**, usw. bieten kann. Das Gleiche gilt für andere Tools wie `mypy`.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 18:01:10 GMT 2024
    - 13.1K bytes
    - Viewed (0)
  4. docs/de/docs/advanced/settings.md

    Erstellen Sie diese dazu direkt vor dem Programm selbst, in derselben Zeile:
    
    <div class="termy">
    
    ```console
    // Erstelle eine Umgebungsvariable MY_NAME inline für diesen Programmaufruf
    $ MY_NAME="Wade Wilson" python main.py
    
    // main.py kann jetzt diese Umgebungsvariable lesen
    
    Hello Wade Wilson from Python
    
    // Die Umgebungsvariable existiert danach nicht mehr
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:17:14 GMT 2024
    - 17.8K bytes
    - Viewed (0)
  5. docs/en/docs/alternatives.md

    The way it works is that you write the definition of the schema using YAML format inside the docstring of each function handling a route.
    
    And it generates OpenAPI schemas.
    
    That's how it works in Flask, Starlette, Responder, etc.
    
    But then, we have again the problem of having a micro-syntax, inside of a Python string (a big YAML).
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 23.2K bytes
    - Viewed (0)
  6. docs/vi/docs/features.md

    Bạn viết chuẩn Python với kiểu dữ liệu như sau:
    
    ```Python
    from datetime import date
    
    from pydantic import BaseModel
    
    # Declare a variable as a str
    # and get editor support inside the function
    def main(user_id: str):
        return user_id
    
    
    # A Pydantic model
    class User(BaseModel):
        id: int
        name: str
        joined: date
    ```
    
    Sau đó có thể được sử dụng:
    
    ```Python
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  7. docs/zh/docs/tutorial/sql-databases.md

    ```
    
    ...并根据您的数据库数据和相关凭据(也适用于 MySQL、MariaDB 或任何其他)对其进行调整。
    
    !!! tip
    
        如果您想使用不同的数据库,这是就是您必须修改的地方。
    
    ### 创建 SQLAlchemy 引擎
    
    第一步,创建一个 SQLAlchemy的“引擎”。
    
    我们稍后会将这个`engine`在其他地方使用。
    
    ```Python hl_lines="8-10"
    {!../../../docs_src/sql_databases/sql_app/database.py!}
    ```
    
    #### 注意
    
    参数:
    
    ```Python
    connect_args={"check_same_thread": False}
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 27K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/dependencies/index.md

    You can use `async def` or normal `def`.
    
    And you can declare dependencies with `async def` inside of normal `def` *path operation functions*, or `def` dependencies inside of `async def` *path operation functions*, etc.
    
    It doesn't matter. **FastAPI** will know what to do.
    
    !!! note
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  9. docs/de/docs/contributing.md

    * In Codeblöcken innerhalb des Markdown-Dokuments, übersetzen Sie Kommentare (`# ein Kommentar`), aber lassen Sie den Rest unverändert.
    
    * Ändern Sie nichts, was in "``" (Inline-Code) eingeschlossen ist.
    
    * In Zeilen, die mit `===` oder `!!!` beginnen, übersetzen Sie nur den ` "... Text ..."`-Teil. Lassen Sie den Rest unverändert.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 23:55:23 GMT 2024
    - 16.2K bytes
    - Viewed (0)
  10. docs/en/docs/advanced/settings.md

    Here we define the config `env_file` inside of your Pydantic `Settings` class, and set the value to the filename with the dotenv file we want to use.
    
    ### Creating the `Settings` only once with `lru_cache`
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 15.7K bytes
    - Viewed (0)
Back to top