Search Options

Results per page
Sort
Preferred Languages
Advance

Results 731 - 740 of 1,381 for put (0.01 sec)

  1. docs/ja/docs/index.md

    ---
    
    コード例に戻りましょう、**FastAPI** は次のようになります:
    
    - `GET`および`PUT`リクエストのパスに`item_id` があることを検証します。
    - `item_id`が`GET`および`PUT`リクエストに対して`int` 型であることを検証します。
      - そうでない場合は、クライアントは有用で明確なエラーが表示されます。
    - `GET` リクエストに対してオプションのクエリパラメータ `q` (`http://127.0.0.1:8000/items/foo?q=somequery` のように) が存在するかどうかを調べます。
      - パラメータ `q` は `= None` で宣言されているので、オプションです。
      - `None`がなければ必須になります(`PUT`の場合のボディと同様です)。
    - `PUT` リクエストを `/items/{item_id}` に送信する場合は、ボディを JSON として読み込みます:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Oct 11 17:48:49 UTC 2025
    - 21.3K bytes
    - Viewed (0)
  2. cmd/bucket-handlers_test.go

    		}
    
    		// Verify response of the V2 signed HTTP request.
    		// initialize HTTP NewRecorder, this records any mutations to response writer inside the handler.
    		recV2 := httptest.NewRecorder()
    		// construct HTTP request for PUT bucket policy endpoint.
    		reqV2, err := newTestSignedRequestV2(http.MethodGet, getBucketLocationURL("", testCase.bucketName), 0, nil, testCase.accessKey, testCase.secretKey, nil)
    		if err != nil {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 39.8K bytes
    - Viewed (0)
  3. MIGRATION.md

    **Available Endpoints**:
    - `POST /backup/upload` - Upload backup/import files
    - `GET /backup/export` - Export configurations
    - `PUT /documents/bulk` - Bulk document import
    - `GET /webconfig` - List web crawl configs
    - `POST /webconfig` - Create web crawl config
    - `PUT /webconfig/{id}` - Update web crawl config
    - `DELETE /webconfig/{id}` - Delete web crawl config
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 06 12:40:11 UTC 2025
    - 23.2K bytes
    - Viewed (0)
  4. docs/ru/docs/index.md

        * Swagger UI.
        * ReDoc.
    
    ---
    
    Возвращаясь к предыдущему примеру кода, **FastAPI** будет:
    
    * Валидировать наличие `item_id` в пути для `GET` и `PUT` запросов.
    * Валидировать, что `item_id` имеет тип `int` для `GET` и `PUT` запросов.
        * Если это не так, клиент увидит полезную понятную ошибку.
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Thu Dec 11 21:25:03 UTC 2025
    - 32K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

      private static final ImmutableClassToInstanceMap<Object> PARAMETER_VALUES =
          ImmutableClassToInstanceMap.builder()
              .put(int.class, 1)
              .put(long.class, 1L)
              .put(double.class, 1.0)
              .put(TimeUnit.class, SECONDS)
              .build();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 18:19:59 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  6. guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java

     *
     * <p>This is a classic &quot;bounded buffer&quot;, in which a fixed-sized array holds elements
     * inserted by producers and extracted by consumers. Once created, the capacity cannot be increased.
     * Attempts to {@code put} an element into a full queue will result in the operation blocking;
     * attempts to {@code take} an element from an empty queue will similarly block.
     *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

      private static final ImmutableClassToInstanceMap<Object> PARAMETER_VALUES =
          ImmutableClassToInstanceMap.builder()
              .put(int.class, 1)
              .put(long.class, 1L)
              .put(double.class, 1.0)
              .put(TimeUnit.class, SECONDS)
              .build();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 18:19:59 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  8. guava-tests/benchmark/com/google/common/cache/SegmentBenchmark.java

        checkState(cache.segments.length == 1);
        segment = cache.segments[0];
        checkState(segment.table.length() == capacity);
        for (int i = 0; i < segment.threshold; i++) {
          cache.put(new Object(), new Object());
        }
        checkState(segment.table.length() == capacity);
      }
    
      @SuppressWarnings("GuardedBy")
      @Benchmark
      int time(int reps) {
        int dummy = 0;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  9. cmd/bucket-handlers.go

    	for _, os := range oss {
    		if os == nil { // skip objects that weren't deleted due to invalid versionID etc.
    			continue
    		}
    		os.Sweep()
    	}
    }
    
    // PutBucketHandler - PUT Bucket
    // ----------
    // This implementation of the PUT operation creates a new bucket for authenticated request
    func (api objectAPIHandlers) PutBucketHandler(w http.ResponseWriter, r *http.Request) {
    	ctx := newContext(r, w, "PutBucket")
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 63.9K bytes
    - Viewed (0)
  10. okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt

            }
            // TODO report compiler bug
            TODO("Can't get here")
          }
        }
    
        override fun put(element: T) {
          taskRunner.withLock {
            delegate.put(element)
            editCount++
          }
        }
    
        override fun iterator() = error("unsupported")
    
        override fun offer(e: T) = error("unsupported")
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed May 28 23:28:25 UTC 2025
    - 11.9K bytes
    - Viewed (0)
Back to top