Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for elseif (0.14 sec)

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

    So, a Python class is also a **callable**.
    
    Then, in **FastAPI**, you could use a Python class as a dependency.
    
    What FastAPI actually checks is that it is a "callable" (function, class or anything else) and the parameters defined.
    
    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