- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for Sall (0.12 sec)
-
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 ```Python
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) -
docs/en/docs/tutorial/dependencies/classes-as-dependencies.md
The key factor is that a dependency should be a "callable". A "**callable**" in Python is anything that Python can "call" like a function. So, if you have an object `something` (that might _not_ be a function) and you can "call" it (execute it) like: ```Python something() ``` or ```Python something(some_argument, some_keyword_argument="foo") ```
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)