- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,764 for can (0.15 sec)
-
docs/en/docs/help-fastapi.md
* Many PRs don't have tests, you can **remind** them to add tests, or you can even **suggest** some tests yourself. That's one of the things that consume most time and you can help a lot with that. * Then also comment what you tried, that way I'll know that you checked it. 🤓 ## Create a Pull Request
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 13.7K bytes - Viewed (0) -
docs/en/docs/advanced/additional-responses.md
} } } } ``` ## Additional media types for the main response You can use this same `responses` parameter to add different media types for the same main response. For example, you can add an additional media type of `image/png`, declaring that your *path operation* can return a JSON object (with media type `application/json`) or a PNG image: ```Python hl_lines="19-24 28"
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Jan 11 16:31:18 GMT 2024 - 8.8K bytes - Viewed (0) -
docs/en/docs/advanced/response-cookies.md
# Response Cookies ## Use a `Response` parameter You can declare a parameter of type `Response` in your *path operation function*. And then you can set cookies in that *temporal* response object. ```Python hl_lines="1 8-9" {!../../../docs_src/response_cookies/tutorial002.py!} ``` And then you can return any object you need, as you normally would (a `dict`, a database model, etc).
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Jan 11 16:31:18 GMT 2024 - 2.2K bytes - Viewed (0) -
docs/en/docs/advanced/events.md
You can probably skip this part. There's an alternative way to define this logic to be executed during *startup* and during *shutdown*. You can define event handlers (functions) that need to be executed before the application starts up, or when the application is shutting down. These functions can be declared with `async def` or normal `def`. ### `startup` event
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 7.8K bytes - Viewed (0) -
CONTRIBUTING.md
- Revert the Git changes to files in the `.idea` folder NOTE: Due to the project size, the very first import can take a while and IntelliJ might become unresponsive for several seconds during this period.
Plain Text - Registered: Wed Apr 24 11:36:11 GMT 2024 - Last Modified: Fri Feb 09 15:30:53 GMT 2024 - 15.6K bytes - Viewed (0) -
docs/en/docs/tutorial/body-updates.md
# Body - Updates ## Update replacing with `PUT` To update an item you can use the <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods/PUT" class="external-link" target="_blank">HTTP `PUT`</a> operation. You can use the `jsonable_encoder` to convert the input data to data that can be stored as JSON (e.g. with a NoSQL database). For example, converting `datetime` to `str`. === "Python 3.10+" ```Python hl_lines="28-33"
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 5.6K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/profile/Os.java
* OS family that can be tested for. {@value} */ private static final String FAMILY_OS2 = "os/2"; /** * OS family that can be tested for. {@value} */ private static final String FAMILY_NETWARE = "netware"; /** * OS family that can be tested for. {@value} */ private static final String FAMILY_DOS = "dos"; /** * OS family that can be tested for. {@value} */
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 7.3K bytes - Viewed (0) -
docs/en/docs/advanced/response-change-status-code.md
But you still want to be able to filter and convert the data you return with a `response_model`. For those cases, you can use a `Response` parameter. ## Use a `Response` parameter You can declare a parameter of type `Response` in your *path operation function* (as you can do for cookies and headers). And then you can set the `status_code` in that *temporal* response object. ```Python hl_lines="1 9 12"
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Jan 11 16:31:18 GMT 2024 - 1.5K bytes - Viewed (0) -
docs/kms/IAM.md
MinIO supports two ways of encrypting IAM and configuration data. You can either use KES - together with an external KMS - or, much simpler, set the env. variable `MINIO_KMS_SECRET_KEY` and start/restart the MinIO server. For more details about KES and how to set it up refer to our [KMS Guide](https://github.com/minio/minio/blob/master/docs/kms/README.md). Instead of configuring an external KMS you can start with a single key by
Plain Text - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Thu Jan 18 07:03:17 GMT 2024 - 5.3K bytes - Viewed (0) -
docs/en/docs/advanced/settings.md
// And then call the program again $ python main.py // Now it can read the environment variable Hello Wade Wilson from Python ``` </div> As environment variables can be set outside of the code, but can be read by the code, and don't have to be stored (committed to `git`) with the rest of the files, it's common to use them for configurations or settings.
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 15.7K bytes - Viewed (0)