Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for negative (0.58 sec)

  1. docs/de/docs/tutorial/bigger-applications.md

    Daher verwenden wir einen relativen Import mit `..` für die Abhängigkeiten:
    
    ```Python hl_lines="3" title="app/routers/items.py"
    {!../../../docs_src/bigger_applications/app/routers/items.py!}
    ```
    
    #### Wie relative Importe funktionieren
    
    !!! tip "Tipp"
        Wenn Sie genau wissen, wie Importe funktionieren, fahren Sie mit dem nächsten Abschnitt unten fort.
    
    Ein einzelner Punkt `.`, wie in:
    
    ```Python
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:27:59 GMT 2024
    - 21.1K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/bigger-applications.md

    And we need to get the dependency function from the module `app.dependencies`, the file `app/dependencies.py`.
    
    So we use a relative import with `..` for the dependencies:
    
    ```Python hl_lines="3" title="app/routers/items.py"
    {!../../../docs_src/bigger_applications/app/routers/items.py!}
    ```
    
    #### How relative imports work
    
    !!! tip
        If you know perfectly how imports work, continue to the next section below.
    
    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)
Back to top