- Sort Score
- Num 10 results
- Language All
Results 581 - 590 of 657 for mybool (0.04 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
docs/pt/docs/tutorial/body.md
Os parâmetros da função serão reconhecidos conforme abaixo: * Se o parâmetro também é declarado no **path**, será utilizado como um parâmetro de rota. * Se o parâmetro é de um **tipo único** (como `int`, `float`, `str`, `bool`, etc) será interpretado como um parâmetro de **consulta**. * Se o parâmetro é declarado como um **modelo Pydantic**, será interpretado como o **corpo** da requisição. /// note | Nota
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 7.9K bytes - Click Count (0) -
docs/tr/docs/index.md
from typing import Union from fastapi import FastAPI from pydantic import BaseModel 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):
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Oct 11 17:48:49 GMT 2025 - 21.9K bytes - Click Count (0) -
src/archive/zip/zip_test.go
// f is also responsible for closing w. func generatesZip64(t *testing.T, f func(w *Writer)) bool { ss := &suffixSaver{keep: 10 << 20} w := NewWriter(ss) f(w) return suffixIsZip64(t, ss) } type sizedReaderAt interface { io.ReaderAt Size() int64 } func suffixIsZip64(t *testing.T, zip sizedReaderAt) bool { d := make([]byte, 1024) if _, err := zip.ReadAt(d, zip.Size()-int64(len(d))); err != nil {
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Thu May 23 01:00:11 GMT 2024 - 19.6K bytes - Click Count (0) -
docs/tr/docs/tutorial/path-params.md
Aynı tip tanımlamalarını `str`, `float`, `bool` ve diğer karmaşık veri tipleri ile kullanma imkanınız vardır. Bunlardan birkaçı, bu eğitimin ileriki bölümlerinde irdelenmiştir. ## Sıralama Önem Arz Eder
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sun Aug 31 10:29:01 GMT 2025 - 10.5K bytes - Click Count (0) -
docs/uk/docs/tutorial/path-params.md
Ви можете використовувати ті самі оголошення типів з `str`, `float`, `bool` та багатьма іншими складними типами даних. Декілька з них будуть розглянуті в наступних розділах посібника. ## Порядок має значення При створенні *операцій шляху* можуть виникати ситуації, коли шлях фіксований.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sun Aug 31 10:29:01 GMT 2025 - 14.1K bytes - Click Count (0) -
tests/test_openapi_separate_input_output_schemas.py
class WithComputedField(BaseModel): name: str @computed_field @property def computed_field(self) -> str: return f"computed {self.name}" def get_app_client(separate_input_output_schemas: bool = True) -> TestClient: app = FastAPI(separate_input_output_schemas=separate_input_output_schemas) @app.post("/items/", responses={402: {"model": Item}}) def create_item(item: Item) -> Item: return item
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 20 15:55:38 GMT 2025 - 26.6K bytes - Click Count (0) -
docs/zh/docs/tutorial/path-params.md
同样,还有很多兼容工具,包括多种语言的代码生成工具。 ## Pydantic FastAPI 充分地利用了 <a href="https://docs.pydantic.dev/" class="external-link" target="_blank">Pydantic</a> 的优势,用它在后台校验数据。众所周知,Pydantic 擅长的就是数据校验。 同样,`str`、`float`、`bool` 以及很多复合数据类型都可以使用类型声明。 下一章介绍详细内容。 ## 顺序很重要 有时,*路径操作*中的路径是写死的。 比如要使用 `/users/me` 获取当前用户的数据。 然后还要使用 `/users/{user_id}`,通过用户 ID 获取指定用户的数据。
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sun Dec 15 16:43:19 GMT 2024 - 7.4K bytes - Click Count (0) -
docs/pt/docs/tutorial/path-params.md
Você pode usar as mesmas declarações de tipo com `str`, `float`, `bool` e muitos outros tipos de dados complexos. Vários deles são explorados nos próximos capítulos do tutorial. ## A ordem importa { #order-matters }Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 9.8K bytes - Click Count (0) -
cmd/erasure-encode_test.go
dataBlocks int onDisks, offDisks int blocksize, data int64 offset int algorithm BitrotAlgorithm shouldFail, shouldFailQuorum bool }{ {dataBlocks: 2, onDisks: 4, offDisks: 0, blocksize: int64(blockSizeV2), data: oneMiByte, offset: 0, algorithm: BLAKE2b512, shouldFail: false, shouldFailQuorum: false}, // 0Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 11.8K bytes - Click Count (0) -
cmd/admin-handlers-users_test.go
type TestSuiteIAM struct { TestSuiteCommon ServerTypeDescription string // Flag to turn on tests for etcd backend IAM withEtcdBackend bool endpoint string adm *madmin.AdminClient client *minio.Client } func newTestSuiteIAM(c TestSuiteCommon, withEtcdBackend bool) *TestSuiteIAM { etcdStr := "" if withEtcdBackend { etcdStr = " (with etcd backend)" } return &TestSuiteIAM{Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Oct 15 17:00:45 GMT 2025 - 50.6K bytes - Click Count (0)