- Sort Score
- Result 10 results
- Languages All
Results 221 - 230 of 907 for hint (2.58 sec)
-
internal/auth/credentials_test.go
testCases := []struct { exp any expectedFailure bool }{ {"", true}, {"-1", true}, {"1574812326", false}, {1574812326, false}, {int64(1574812326), false}, {int(1574812326), false}, {uint(1574812326), false}, {uint64(1574812326), false}, {json.Number("1574812326"), false}, {1574812326.000, false}, {time.Duration(3) * time.Minute, false}, } for _, testCase := range testCases {Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 5.4K bytes - Viewed (0) -
docs/es/docs/tutorial/query-params-str-validations.md
ยฟRecuerdas que te dije antes que `Annotated` puede usarse para agregar metadatos a tus parรกmetros en la [Introducciรณn a Tipos de Python](../python-types.md#type-hints-with-metadata-annotations){.internal-link target=_blank}? Ahora es el momento de usarlo con FastAPI. ๐ Tenรญamos esta anotaciรณn de tipo: //// tab | Python 3.10+ ```Python q: str | None = None ```
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 18.4K bytes - Viewed (0) -
docs/tr/docs/index.md
@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): return {"item_name": item.name, "item_id": item_id} ```
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Oct 11 17:48:49 UTC 2025 - 21.9K bytes - Viewed (0) -
fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/client/FesenClientTest.java
final int numThreads = 10; final ExecutorService executor = Executors.newFixedThreadPool(numThreads); final CountDownLatch latch = new CountDownLatch(numThreads); final AtomicInteger callbackCount = new AtomicInteger(0); // Add listeners concurrently from multiple threads for (int i = 0; i < numThreads; i++) { executor.submit(() -> {Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Nov 20 08:44:44 UTC 2025 - 17K bytes - Viewed (0) -
internal/auth/credentials.go
case string: expAt, err = strconv.ParseInt(exp, 10, 64) case float64: expAt, err = int64(exp), nil case int64: expAt, err = exp, nil case int: expAt, err = int64(exp), nil case uint64: expAt, err = int64(exp), nil case uint: expAt, err = int64(exp), nil case json.Number: expAt, err = exp.Int64() case time.Duration: expAt, err = time.Now().UTC().Add(exp).Unix(), nil case nil:
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 11.8K bytes - Viewed (0) -
docs/en/docs/alternatives.md
It had automatic data validation, data serialization and OpenAPI schema generation based on the same type hints in several places.
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Oct 11 17:48:49 UTC 2025 - 23.6K bytes - Viewed (0) -
docs/ko/docs/python-types.md
# ํ์ด์ฌ ํ์ ์๊ฐ ํ์ด์ฌ์ ์ ํ์ ์ผ๋ก "ํ์ ํํธ(type hints)"๋ฅผ ์ง์ํฉ๋๋ค. ์ด๋ฌํ **ํ์ ํํธ**๋ค์ ๋ณ์์ <abbr title="์๋ฅผ ๋ค๋ฉด: str, int, float, bool">ํ์ </abbr>์ ์ ์ธํ ์ ์๊ฒ ํด์ฃผ๋ ํน์ํ ๊ตฌ๋ฌธ์ ๋๋ค. ๋ณ์์ ํ์ ์ ์ง์ ํ๋ฉด ์๋ํฐ์ ํด์ด ๋ ๋ง์ ๋์์ ์ค ์ ์๊ฒ ๋ฉ๋๋ค. ์ด ๋ฌธ์๋ ํ์ด์ฌ ํ์ ํํธ์ ๋ํ **๋น ๋ฅธ ์์ต์ / ๋ด์ฉํ๊ธฐ** ์์ค์ ๋ฌธ์์ ๋๋ค. ์ฌ๊ธฐ์๋ **FastAPI**๋ฅผ ์ฐ๊ธฐ ์ํ ์ต์ํ์ ๋ด์ฉ๋ง์ ๋ค๋ฃน๋๋ค. **FastAPI**๋ ํ์ ํํธ์ ๊ธฐ๋ฐ์ ๋๊ณ ์์ผ๋ฉฐ, ์ด๋ ๋ง์ ์ฅ์ ๊ณผ ์ด์ต์ด ์์ต๋๋ค. ๋น๋ก **FastAPI**๋ฅผ ์ฐ์ง ์๋๋ค๊ณ ํ๋๋ผ๋, ์กฐ๊ธ์ด๋ผ๋ ์์๋๋ฉด ๋์์ด ๋ ๊ฒ์ ๋๋ค. /// note | ์ฐธ๊ณ
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 10.2K bytes - Viewed (0) -
src/bytes/buffer_test.go
defer func() { if err := recover(); err != ErrTooLarge { t.Errorf("after too-large Grow, recover() = %v; want %v", err, ErrTooLarge) } }() buf := NewBuffer(make([]byte, 1)) const maxInt = int(^uint(0) >> 1) buf.Grow(maxInt) } // Was a bug: used to give EOF reading empty slice at EOF. func TestReadEmptyAtEOF(t *testing.T) { b := new(Buffer) slice := make([]byte, 0) n, err := b.Read(slice)
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Fri Nov 14 19:01:17 UTC 2025 - 19.4K bytes - Viewed (0) -
docs/changelogs/changelog_4x.md
* Upgrade: [Kotlin 1.8.21][kotlin_1_8_21]. ## Version 4.11.0 _2023-04-22_ * Fix: Don't fail the call when the response code is โHTTP 102 Processingโ or โHTTP 103 Early Hintsโ. * Fix: Read the response even if writing the request fails. This means you'll get a proper HTTP response even if the server rejects your request body.
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Apr 17 13:25:31 UTC 2024 - 25.2K bytes - Viewed (0) -
CHANGELOG/CHANGELOG-1.22.md
- github.com/alecthomas/template: [fb15b89](https://github.com/alecthomas/template/tree/fb15b89) - github.com/andreyvit/diff: [c7f18ee](https://github.com/andreyvit/diff/tree/c7f18ee) - github.com/bifurcation/mint: [93c51c6](https://github.com/bifurcation/mint/tree/93c51c6) - github.com/caddyserver/caddy: [v1.0.3](https://github.com/caddyserver/caddy/tree/v1.0.3) - github.com/cenkalti/backoff: [v2.1.1+incompatible](https://github.com/cenkalti/backoff/tree/v2.1.1)
Registered: Fri Dec 26 09:05:12 UTC 2025 - Last Modified: Tue Dec 13 12:43:45 UTC 2022 - 454.1K bytes - Viewed (0)