- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for folder (0.18 sec)
-
docs/de/docs/tutorial/response-model.md
### Typannotationen und Tooling Sehen wir uns zunächst an, wie Editor, mypy und andere Tools dies sehen würden. `BaseUser` verfügt über die Basis-Felder. Dann erbt `UserIn` von `BaseUser` und fügt das Feld `Passwort` hinzu, sodass dass es nun alle Felder beider Modelle hat. Wir annotieren den Funktionsrückgabetyp als `BaseUser`, geben aber tatsächlich eine `UserIn`-Instanz zurück.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Mar 30 20:26:58 GMT 2024 - 19.9K bytes - Viewed (0) -
docs/en/docs/tutorial/response-model.md
* This will be used by the **automatic docs**. * It will also be used by automatic client code generation tools. But most importantly: * It will **limit and filter** the output data to what is defined in the return type. * This is particularly important for **security**, we'll see more of that below. ## `response_model` Parameter
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 17.9K bytes - Viewed (0)