Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for sein (0.12 sec)

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

    Der springende Punkt ist, dass eine Abhängigkeit aufrufbar („callable“) sein sollte.
    
    Ein „**Callable**“ in Python ist etwas, das wie eine Funktion aufgerufen werden kann („to call“).
    
    Wenn Sie also ein Objekt `something` haben (das möglicherweise _keine_ Funktion ist) und Sie es wie folgt aufrufen (ausführen) können:
    
    ```Python
    something()
    ```
    
    oder
    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

    And we know that editors can't provide a lot of support (like completion) for `dict`s, because they can't know their keys and value types.
    
    We can do better...
    
    ## What makes a dependency
    
    Up to now you have seen dependencies declared as functions.
    
    But that's not the only way to declare dependencies (although it would probably be the more common).
    
    The key factor is that a dependency should be a "callable".
    
    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