- Sort Score
- Num 10 results
- Language All
Results 541 - 550 of 1,681 for tone (0.05 seconds)
-
docs_src/dependencies/tutorial014_an_py310.py
from sqlmodel import Field, Session, SQLModel, create_engine engine = create_engine("postgresql+psycopg://postgres:postgres@localhost/db") class User(SQLModel, table=True): id: int | None = Field(default=None, primary_key=True) name: str app = FastAPI() def get_session(): with Session(engine) as session: yield session
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Mon Sep 29 03:29:38 GMT 2025 - 957 bytes - Click Count (0) -
cmd/os_other.go
maxEntries = opts.count } done := false remaining := opts.count for !done { // Read up to max number of entries. fis, err := d.Readdir(maxEntries) if err != nil { if err == io.EOF { break } return nil, osErrToFileErr(err) } if opts.count > -1 { if remaining <= len(fis) { fis = fis[:remaining] done = true } }Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Sep 13 15:14:36 GMT 2023 - 4K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/ConnectionPool.kt
maxIdleConnections: Int = 5, keepAliveDuration: Long = 5, timeUnit: TimeUnit = TimeUnit.MINUTES, taskRunner: TaskRunner = TaskRunner.INSTANCE, connectionListener: ConnectionListener = ConnectionListener.NONE, ) : this( RealConnectionPool( taskRunner = taskRunner, maxIdleConnections = maxIdleConnections, keepAliveDuration = keepAliveDuration, timeUnit = timeUnit,Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Oct 07 21:55:03 GMT 2025 - 3.4K bytes - Click Count (0) -
buildscripts/minio-upgrade.sh
} add_alias() { for i in $(seq 1 4); do echo "... attempting to add alias $i" until (mc alias set minio http://127.0.0.1:9000 minioadmin minioadmin); do echo "...waiting... for 5secs" && sleep 5 done done echo "Sleeping for nginx" sleep 20 } __init__() { sudo apt install curl -y export GOPATH=/tmp/gopath export PATH=${PATH}:${GOPATH}/bin go install github.com/minio/mc@latestCreated: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Mon Apr 21 16:24:31 GMT 2025 - 2.8K bytes - Click Count (0) -
docs_src/query_params_str_validations/tutorial008_an_py310.py
app = FastAPI() @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 Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Oct 24 20:26:06 GMT 2023 - 498 bytes - Click Count (0) -
docs/zh/docs/tutorial/body.md
* 如果该参数也在**路径**中声明了,它就是路径参数。 * 如果该参数是(`int`、`float`、`str`、`bool` 等)**单一类型**,它会被当作**查询**参数。 * 如果该参数的类型声明为 **Pydantic 模型**,它会被当作请求**体**。 /// note | 注意 FastAPI 会根据默认值 `= None` 知道 `q` 的值不是必填的。 `str | None` 并不是 FastAPI 用来判断是否必填的依据;是否必填由是否有默认值 `= None` 决定。 但添加这些类型注解可以让你的编辑器提供更好的支持并检测错误。 /// ## 不使用 Pydantic { #without-pydantic }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 5.9K bytes - Click Count (0) -
tests/test_request_params/test_header/test_required_str.py
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Feb 08 10:18:38 GMT 2026 - 10.3K bytes - Click Count (0) -
internal/hash/crc.go
// apply len2 zeros to crc1 (first square will put the operator for one // zero byte, eight zero bits, in even) crc1n := uint64(crc1) for { // apply zeros operator for this bit of len2 gf2MatrixSquare(even, odd) if len2&1 != 0 { crc1n = gf2MatrixTimes(even, crc1n) } len2 >>= 1 // if no more bits set, then done if len2 == 0 { break }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Mon Jan 20 14:49:07 GMT 2025 - 5.8K bytes - Click Count (0) -
docs/de/docs/how-to/separate-openapi-schemas.md
</div> Das bedeutet, dass es **immer einen Wert** hat, der Wert kann jedoch manchmal `None` sein (oder `null` in JSON). Das bedeutet, dass Clients, die Ihre API verwenden, nicht prüfen müssen, ob der Wert vorhanden ist oder nicht. Sie können davon ausgehen, dass das Feld immer vorhanden ist. In einigen Fällen hat es jedoch nur den Defaultwert `None`.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Dec 24 10:28:19 GMT 2025 - 5.2K bytes - Click Count (0) -
docs/ru/docs/how-to/separate-openapi-schemas.md
</div> Это означает, что у него **всегда будет какое‑то значение**, просто иногда это значение может быть `None` (или `null` в JSON). Это означает, что клиентам, использующим ваш API, не нужно проверять, существует ли это значение или нет: они могут **исходить из того, что поле всегда присутствует**, но в некоторых случаях оно будет иметь значение по умолчанию `None`.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Jan 20 23:03:07 GMT 2026 - 6.9K bytes - Click Count (0)