Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 907 for hint (2.58 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top