- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 3,713 for Can (0.24 seconds)
-
CONTRIBUTING.md
It is very helpful if you can prepare a reproduction of the bug. In other words, provide a small test case which we can run to confirm your bug. It makes it easier to find the problem and to fix it. Test cases should be provided as `curl` commands which we can copy and paste into a terminal to run it locally, for example: ```sh # delete the index
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Wed Sep 01 07:32:01 GMT 2021 - 36.5K bytes - Click Count (0) -
docs/en/docs/tutorial/response-status-code.md
# Response Status Code { #response-status-code } The same way you can specify a response model, you can also declare the HTTP status code used for the response with the parameter `status_code` in any of the *path operations*: * `@app.get()` * `@app.post()` * `@app.put()` * `@app.delete()` * etc. {* ../../docs_src/response_status_code/tutorial001_py310.py hl[6] *} /// noteCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 3.9K bytes - Click Count (0) -
docs/en/docs/advanced/response-change-status-code.md
For those cases, you can use a `Response` parameter. ## 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.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 1.5K bytes - Click Count (0) -
docs/en/docs/tutorial/dependencies/dependencies-with-yield.md
So, you can look for that specific exception inside the dependency with `except SomeException`. In the same way, you can use `finally` to make sure the exit steps are executed, no matter if there was an exception or not. {* ../../docs_src/dependencies/tutorial007_py310.py hl[3,5] *} ## Sub-dependencies with `yield` { #sub-dependencies-with-yield }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 12.6K bytes - Click Count (0) -
.github/ISSUE_TEMPLATE/feature_addition_request.yaml
value: > Comparing two approaches to a use case side by side can make it easier to examine the differences between them. Additionally, it's very useful to us if you can provide a "straw API" — what the method signatures would look like, for example, even if the method and class names are still in flux. This can make the feature you're suggesting much clearer to us. - type: textareaCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Nov 17 18:47:47 GMT 2023 - 5.8K bytes - Click Count (0) -
docs/en/docs/python-types.md
```python from typing import Any def some_function(data: Any): print(data) ``` ### Generic types { #generic-types } Some types can take "type parameters" in square brackets, to define their internal types, for example a "list of strings" would be declared `list[str]`.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 11K bytes - Click Count (0) -
docs/erasure/storage-class/README.md
## Overview MinIO supports two storage classes, Reduced Redundancy class and Standard class. These classes can be defined using environment variables set before starting MinIO server. After the data and parity drives for each storage class are defined using environment variables, you can set the storage class of an object via request metadata field `x-amz-storage-class`. MinIO server then honors the storage class by
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Aug 12 18:20:36 GMT 2025 - 5.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/thumbnail/impl/EmptyGeneratorTest.java
emptyGenerator = new EmptyGenerator(); // Note: isTarget method requires FessConfig from ComponentUtil // which needs container initialization. // We can only test that the method can be called without crashing // when proper conditions are not met. Map<String, Object> docMap = new HashMap<>(); // This will return false because getFessConfig() will fail
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 6.5K bytes - Click Count (0) -
docs/en/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md
You can use the same dependency *functions* you use normally. ### Dependency requirements { #dependency-requirements } They can declare request requirements (like headers) or other sub-dependencies: {* ../../docs_src/dependencies/tutorial006_an_py310.py hl[8,13] *} ### Raise exceptions { #raise-exceptions } These dependencies can `raise` exceptions, the same as normal dependencies:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 2.9K bytes - Click Count (0) -
docs/en/docs/tutorial/body-updates.md
# Body - Updates { #body-updates } ## Update replacing with `PUT` { #update-replacing-with-put } To update an item you can use the [HTTP `PUT`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods/PUT) 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`. {* ../../docs_src/body_updates/tutorial001_py310.py hl[28:33] *}Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 4K bytes - Click Count (0)