- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 75 for Wood (0.02 seconds)
-
tests/test_dependency_after_yield_raise.py
assert response.status_code == 200 assert response.json() == {"message": "all good?"} def test_broken_return_finishes(): client = TestClient(app, raise_server_exceptions=False) response = client.get("/broken") assert response.status_code == 200Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 1.7K bytes - Click Count (0) -
docs/en/docs/tutorial/path-params.md
## Pydantic { #pydantic } All the data validation is performed under the hood by <a href="https://docs.pydantic.dev/" class="external-link" target="_blank">Pydantic</a>, so you get all the benefits from it. And you know you are in good hands. You can use the same type declarations with `str`, `float`, `bool` and many other complex data types.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 9.2K bytes - Click Count (0) -
src/cmd/api/testdata/src/pkg/p2/p2.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package p2 type Twoer interface { // Deprecated: No good. PackageTwoMeth() } // Deprecated: No good. func F() string {} func G() Twoer {}Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Fri Dec 02 16:29:41 GMT 2022 - 337 bytes - Click Count (0) -
internal/cachevalue/cache.go
// Opts contains options for the cache. type Opts struct { // When set to true, return the last cached value // even if updating the value errors out. // Returns the last good value AND the error. ReturnLastGood bool // If NoWait is set, Get() will return the last good value, // if TTL has expired but 2x TTL has not yet passed, // but will fetch a new value in the background. NoWait bool }Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri May 24 12:50:46 GMT 2024 - 4.4K bytes - Click Count (0) -
tests/test_tutorial/test_query_params_str_validations/test_tutorial008.py
"operationId": "read_items_items__get", "parameters": [ { "description": "Query string for the items to search in the database that have a good match", "required": False, "schema": { "anyOf": [ {
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Dec 26 10:43:02 GMT 2025 - 4.9K bytes - Click Count (0) -
docs_src/query_params_str_validations/tutorial008_an_py310.py
@app.get("/items/") async def read_items( q: Annotated[ str | None, Query( title="Query string", description="Query string for the items to search in the database that have a good match", min_length=3, ), ] = None, ): results = {"items": [{"item_id": "Foo"}, {"item_id": "Bar"}]} if q: results.update({"q": q})
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Oct 24 20:26:06 GMT 2023 - 498 bytes - Click Count (0) -
docs_src/query_params_str_validations/tutorial010_an_py310.py
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Oct 24 20:26:06 GMT 2023 - 622 bytes - Click Count (0) -
docs/uk/docs/tutorial/cookie-param-models.md
Наприклад, якщо клієнт спробує надіслати cookie `santa_tracker` зі значенням `good-list-please`, він отримає відповідь з помилкою, яка повідомить, що <abbr title="Санта не схвалює відсутність cookie. 🎅 Гаразд, більше жартів не буде.">cookie `santa_tracker` не дозволено</abbr>: ```json { "detail": [Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Mar 19 17:03:38 GMT 2025 - 4.7K bytes - Click Count (0) -
ci/official/requirements_updater/README.md
[pip-compile](https://pypi.org/project/pip-tools/) under the hood): ``` bazel run //ci/official/requirements_updater:requirements.update --repo_env=HERMETIC_PYTHON_VERSION=3.12 ``` where `3.12` is the `Python` version you wish to update. Note, since it is still `pip` and `pip-compile` tools used under the hood, so most of the command line arguments and features supported by those tools will be
Created: Tue Dec 30 12:39:10 GMT 2025 - Last Modified: Sat Jun 29 00:19:18 GMT 2024 - 3K bytes - Click Count (0) -
tests/test_compat.py
# to support it as a first class "feature" assert is_bytes_sequence_annotation(Union[list[str], list[bytes]]) def test_is_uploadfile_sequence_annotation(): # For coverage # TODO: in theory this would allow declaring types that could be lists of UploadFile # and other types, but I'm not even sure it's a good idea to support it as a first # class "feature"
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 12:54:56 GMT 2025 - 4.2K bytes - Click Count (0)