- Sort Score
- Result 10 results
- Languages All
Results 411 - 420 of 2,574 for Bone (0.04 sec)
-
docs/ru/docs/index.md
app = FastAPI() class Item(BaseModel): name: str price: float is_offer: Union[bool, None] = None @app.get("/") def read_root(): return {"Hello": "World"} @app.get("/items/{item_id}") def read_item(item_id: int, q: Union[str, None] = None): return {"item_id": item_id, "q": q} @app.put("/items/{item_id}") def update_item(item_id: int, item: Item):
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 10:49:48 UTC 2025 - 25.8K bytes - Viewed (0) -
docs/pt/docs/python-types.md
`Optional[Something]` é na verdade um atalho para `Union[Something, None]`, eles são equivalentes. Isso também significa que no Python 3.10, você pode utilizar `Something | None`: //// tab | Python 3.10+ ```Python hl_lines="1" {!> ../../docs_src/python_types/tutorial009_py310.py!} ```
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sat Nov 09 10:32:53 UTC 2024 - 17.8K bytes - Viewed (0) -
docs/de/docs/index.md
app = FastAPI() class Item(BaseModel): name: str price: float is_offer: Union[bool, None] = None @app.get("/") def read_root(): return {"Hello": "World"} @app.get("/items/{item_id}") def read_item(item_id: int, q: Union[str, None] = None): return {"item_id": item_id, "q": q} @app.put("/items/{item_id}") def update_item(item_id: int, item: Item):
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 10:49:48 UTC 2025 - 21.1K bytes - Viewed (0) -
docs/tr/docs/index.md
app = FastAPI() class Item(BaseModel): name: str price: float is_offer: Union[bool, None] = None @app.get("/") def read_root(): return {"Hello": "World"} @app.get("/items/{item_id}") def read_item(item_id: int, q: Union[str, None] = None): return {"item_id": item_id, "q": q} @app.put("/items/{item_id}") def update_item(item_id: int, item: Item):
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 10:49:48 UTC 2025 - 21.9K bytes - Viewed (0) -
docs/pt/docs/how-to/separate-openapi-schemas.md
</div> Isso significa que ele **sempre terá um valor**, só que às vezes o valor pode ser `None` (ou `null` em termos de JSON). Isso quer dizer que, os clientes que usam sua API não precisam verificar se o valor existe ou não, eles podem **assumir que o campo sempre estará lá**, mas que em alguns casos terá o valor padrão de `None`. A maneira de descrever isso no OpenAPI é marcar esse campo como **obrigatório**, porque ele sempre estará lá.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 4.5K bytes - Viewed (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] = []` має значення за замовчуванням порожній список: `[]`.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Tue Jun 24 19:14:01 UTC 2025 - 24.8K bytes - Viewed (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] = []`, где пустой список `[]` является значением по умолчанию.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 27.6K bytes - Viewed (0) -
docs/features/caching.md
Deleting the cache when it is no longer needed can be done. However this may delete the purpose of the cache which is designed to persist between app restarts. ```kotlin cache.delete() ``` ## Pruning the Cache Pruning the entire Cache to clear space temporarily can be done using evictAll. ```kotlin cache.evictAll() ``` Removing individual items can be done using the urls iterator.
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun Feb 06 02:19:09 UTC 2022 - 3.1K bytes - Viewed (0) -
src/cmd/asm/internal/asm/expr_test.go
t.Errorf("#%d: %q: expected error %q; got none", i, test.input, test.error) } continue } if !strings.Contains(err.Error(), test.error) { t.Errorf("#%d: expected error %q; got %q", i, test.error, err) continue } } } func runBadTest(i int, test badExprTest, t *testing.T) (err error) { p := NewParser(nil, nil, nil) // Expression evaluation uses none of these fields of the parser.
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Tue Aug 29 07:48:38 UTC 2023 - 3.2K bytes - Viewed (0) -
compat/maven-builder-support/src/main/java/org/apache/maven/building/Problem.java
*/ String getSource(); /** * Gets the one-based index of the line containing the problem. The line number should refer to some text file that * is given by {@link #getSource()}. * * @return The one-based index of the line containing the problem or a non-positive value if unknown. */ int getLineNumber(); /**
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Jan 15 18:51:29 UTC 2025 - 3.4K bytes - Viewed (0)