Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Editor (0.15 sec)

  1. docs/de/docs/tutorial/dependencies/classes-as-dependencies.md

            Bevorzugen Sie die `Annotated`-Version, falls möglich.
    
        ```Python hl_lines="19"
        {!> ../../../docs_src/dependencies/tutorial003.py!}
        ```
    
    Es wird jedoch empfohlen, den Typ zu deklarieren, da Ihr Editor so weiß, was als Parameter `commons` übergeben wird, und Ihnen dann bei der Codevervollständigung, Typprüfungen, usw. helfen kann:
    
    <img src="/img/tutorial/dependencies/image02.png">
    
    ## Abkürzung
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 18:01:58 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/dependencies/classes-as-dependencies.md

            Prefer to use the `Annotated` version if possible.
    
        ```Python hl_lines="19"
        {!> ../../../docs_src/dependencies/tutorial003.py!}
        ```
    
    But declaring the type is encouraged as that way your editor will know what will be passed as the parameter `commons`, and then it can help you with code completion, type checks, etc:
    
    <img src="/img/tutorial/dependencies/image02.png">
    
    ## Shortcut
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 11.4K bytes
    - Viewed (0)
Back to top