- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 156 for each (0.16 sec)
-
docs/en/docs/advanced/security/oauth2-scopes.md
/// tip The important and "magic" thing here is that `get_current_user` will have a different list of `scopes` to check for each *path operation*. All depending on the `scopes` declared in each *path operation* and each dependency in the dependency tree for that specific *path operation*. /// ## More details about `SecurityScopes` { #more-details-about-securityscopes }
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 10:49:48 UTC 2025 - 13.5K bytes - Viewed (0) -
docs/en/docs/advanced/additional-responses.md
You can pass to your *path operation decorators* a parameter `responses`. It receives a `dict`: the keys are status codes for each response (like `200`), and the values are other `dict`s with the information for each of them. Each of those response `dict`s can have a key `model`, containing a Pydantic model, just like `response_model`.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 8.9K bytes - Viewed (0) -
cmd/postpolicyform_test.go
wantErr: `Each form field that you specify in a form must appear in the list of policy conditions. "X-Amz-Meta-Name" not specified in the policy.`, }, { name: "unknown key XAmzChecksumAlgo is error as it does not appear in policy", fv: defaultFormVals.Clone().Set(http.CanonicalHeaderKey(xhttp.AmzChecksumAlgo), "algo-val"),Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 12.3K bytes - Viewed (0) -
docs/en/docs/tutorial/bigger-applications.md
* `dependencies`: they all need that `X-Token` dependency we created. So, instead of adding all that to each *path operation*, we can add it to the `APIRouter`. ```Python hl_lines="5-10 16 21" title="app/routers/items.py" {!../../docs_src/bigger_applications/app/routers/items.py!} ``` As the path of each *path operation* has to start with `/`, like in: ```Python hl_lines="1" @router.get("/{item_id}")
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 19.1K bytes - Viewed (0) -
docs/en/docs/tutorial/schema-extra-example.md
And Swagger UI has supported this particular `examples` field for a while. So, you can use it to **show** different **examples in the docs UI**. The shape of this OpenAPI-specific field `examples` is a `dict` with **multiple examples** (instead of a `list`), each with extra information that will be added to **OpenAPI** too.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 9.6K bytes - Viewed (0) -
docs/en/docs/advanced/generate-clients.md
In this case, you will have to ensure that each operation ID is **unique** in some other way. For example, you could make sure that each *path operation* has a tag, and then generate the operation ID based on the **tag** and the *path operation* **name** (the function name). ### Custom Generate Unique ID Function { #custom-generate-unique-id-function }Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 10.1K bytes - Viewed (1) -
cmd/fmt-gen.go
} defer zipFile.Close() fmtZipW := zip.NewWriter(zipFile) defer fmtZipW.Close() for _, pool := range pools { // for each pool setCount, setDriveCount := pool.SetCount, pool.DrivesPerSet format := newFormatErasureV3(setCount, setDriveCount) format.ID = deploymentID for i := range setCount { // for each erasure set for j := range setDriveCount { newFormat := format.Clone()
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 3.7K bytes - Viewed (0) -
docs/en/docs/deployment/concepts.md
* The process can be **terminated** (or "killed") by you, or by the operating system. At that point, it stops running/being executed, and it can **no longer do things**. * Each application that you have running on your computer has some process behind it, each running program, each window, etc. And there are normally many processes running **at the same time** while a computer is on.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 18.6K bytes - Viewed (1) -
docs/en/docs/tutorial/middleware.md
You can add middleware to **FastAPI** applications. A "middleware" is a function that works with every **request** before it is processed by any specific *path operation*. And also with every **response** before returning it. * It takes each **request** that comes to your application. * It can then do something to that **request** or run any needed code. * Then it passes the **request** to be processed by the rest of the application (by some *path operation*).
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 4.1K bytes - Viewed (0) -
docs/en/docs/deployment/docker.md
`CMD` takes a list of strings, each of these strings is what you would type in the command line separated by spaces. This command will be run from the **current working directory**, the same `/code` directory you set above with `WORKDIR /code`. /// tip Review what each line does by clicking each number bubble in the code. 👆 /// /// warningRegistered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 29.5K bytes - Viewed (1)