- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for called (0.18 sec)
-
docs/en/docs/tutorial/security/first-steps.md
The `oauth2_scheme` variable is an instance of `OAuth2PasswordBearer`, but it is also a "callable". It could be called as: ```Python oauth2_scheme(some, parameters) ``` So, it can be used with `Depends`. ### Use it Now you can pass that `oauth2_scheme` in a dependency with `Depends`.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Wed Mar 13 19:02:19 GMT 2024 - 8.9K bytes - Viewed (0) -
docs/en/docs/tutorial/first-steps.md
Normally you use: * `POST`: to create data. * `GET`: to read data. * `PUT`: to update data. * `DELETE`: to delete data. So, in OpenAPI, each of the HTTP methods is called an "operation". We are going to call them "**operations**" too. #### Define a *path operation decorator* ```Python hl_lines="6" {!../../../docs_src/first_steps/tutorial001.py!} ```
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu May 02 22:37:31 GMT 2024 - 12K bytes - Viewed (0)