- Sort Score
- Num 10 results
- Language All
Results 451 - 460 of 1,681 for tone (0.02 seconds)
-
tests/test_required_noneable.py
from fastapi.testclient import TestClient app = FastAPI() @app.get("/query") def read_query(q: str | None): return q @app.get("/explicit-query") def read_explicit_query(q: str | None = Query()): return q @app.post("/body-embed") def send_body_embed(b: str | None = Body(embed=True)): return b client = TestClient(app) def test_required_nonable_query_invalid():
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 1.5K bytes - Click Count (0) -
docs/ru/docs/python-types.md
Это означает, что `item` может быть `int` или `str`. #### Возможно `None` { #possibly-none } Вы можете объявить, что значение может иметь определённый тип, например `str`, но также может быть и `None`. //// tab | Python 3.10+ ```Python hl_lines="1" {!> ../../docs_src/python_types/tutorial009_py310.py!} ``` ////Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:56:20 GMT 2026 - 17.7K bytes - Click Count (0) -
src/main/java/org/codelibs/curl/io/ContentOutputStream.java
* <ul> * <li>{@code logger} - Logger instance for logging warnings.</li> * <li>{@code PREFIX} - Prefix for the temporary file name.</li> * <li>{@code SUFFIX} - Suffix for the temporary file name.</li> * <li>{@code done} - Flag indicating whether the file has been retrieved.</li> * </ul> * * <p>Constructors:</p> * <ul>
Created: Thu Apr 02 15:34:12 GMT 2026 - Last Modified: Thu Nov 20 13:34:13 GMT 2025 - 3.9K bytes - Click Count (0) -
docs_src/custom_docs_ui/tutorial001_py310.py
from fastapi import FastAPI from fastapi.openapi.docs import ( get_redoc_html, get_swagger_ui_html, get_swagger_ui_oauth2_redirect_html, ) app = FastAPI(docs_url=None, redoc_url=None) @app.get("/docs", include_in_schema=False) async def custom_swagger_ui_html(): return get_swagger_ui_html( openapi_url=app.openapi_url, title=app.title + " - Swagger UI",
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 1.1K bytes - Click Count (0) -
docs_src/response_model/tutorial006_py310.py
from fastapi import FastAPI from pydantic import BaseModel app = FastAPI() class Item(BaseModel): name: str description: str | None = None price: float tax: float = 10.5 items = { "foo": {"name": "Foo", "price": 50.2}, "bar": {"name": "Bar", "description": "The Bar fighters", "price": 62, "tax": 20.2}, "baz": { "name": "Baz", "description": "There goes my baz",
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Jan 07 14:11:31 GMT 2022 - 816 bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/Location.java
public interface Location { /** * Return the line number where the current event ends, * returns -1 if none is available. * @return the current line number */ int getLineNumber(); /** * Return the column number where the current event ends, * returns -1 if none is available. * @return the current column number */ int getColumnNumber(); /**Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Mar 25 10:50:01 GMT 2024 - 1.9K bytes - Click Count (0) -
docs/de/docs/tutorial/query-params.md
## Optionale Parameter { #optional-parameters } Auf die gleiche Weise können Sie optionale Query-Parameter deklarieren, indem Sie deren Defaultwert auf `None` setzen: {* ../../docs_src/query_params/tutorial002_py310.py hl[7] *} In diesem Fall wird der Funktionsparameter `q` optional und standardmäßig `None` sein. /// check | TestenCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:58:09 GMT 2026 - 4.9K bytes - Click Count (0) -
docs/uk/docs/tutorial/response-model.md
Ваша модель відповіді може мати значення за замовчуванням, наприклад: {* ../../docs_src/response_model/tutorial004_py310.py hl[9,11:12] *} * `description: Union[str, None] = None` (або `str | None = None` у Python 3.10) має значення за замовчуванням `None`. * `tax: float = 10.5` має значення за замовчуванням `10.5`. * `tags: List[str] = []` має значення за замовчуванням порожній список: `[]`.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:27:41 GMT 2026 - 25.2K bytes - Click Count (0) -
docs/ru/docs/tutorial/response-model.md
У вашей модели ответа могут быть значения по умолчанию, например: {* ../../docs_src/response_model/tutorial004_py310.py hl[9,11:12] *} * `description: Union[str, None] = None` (или `str | None = None` в Python 3.10) имеет значение по умолчанию `None`. * `tax: float = 10.5` имеет значение по умолчанию `10.5`. * `tags: List[str] = []` имеет значение по умолчанию пустого списка: `[]`.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:56:20 GMT 2026 - 25.5K bytes - Click Count (0) -
buildscripts/verify-healing-empty-erasure-set.sh
while [ $(/tmp/mc admin info --json myminio | jq '.info.servers[].drives[].state | select(. != "ok")' | wc -l) -gt 0 ]; do sleep 1; done # Wait for all drives to be healed while [ $(/tmp/mc admin info --json myminio | jq '.info.servers[].drives[].healing | select(. != null) | select(. == true)' | wc -l) -gt 0 ]; do sleep 1; done # Wait for Status: in MinIO output while true; do rv=$(check_online) if [ "$rv" != "1" ]; then # success
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Jul 12 20:51:54 GMT 2024 - 3.7K bytes - Click Count (0)