Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1341 - 1350 of 3,796 for Get (0.02 sec)

  1. docs/fr/docs/index.md

    * Valider que `item_id` existe dans le chemin des requêtes `GET` et `PUT`.
    * Valider que `item_id` est de type `int` pour les requêtes `GET` et `PUT`.
        * Si ce n'est pas le cas, le client voit une erreur utile et claire.
    * Vérifier qu'il existe un paramètre de requête facultatif nommé `q` (comme dans `http://127.0.0.1:8000/items/foo?q=somequery`) pour les requêtes `GET`.
        * Puisque le paramètre `q` est déclaré avec `= None`, il est facultatif.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 22K bytes
    - Viewed (0)
  2. docs/zh-hant/docs/index.md

        - 數據模型
        - ...還有其他更多
    - 自動生成的 API 文件,包含 2 種不同的使用介面:
        - Swagger UI
        - ReDoc
    
    ---
    
    回到前面的的程式碼範例,**FastAPI** 還會:
    
    - 驗證 `GET` 和 `PUT` 請求路徑中是否包含 `item_id`。
    - 驗證 `GET` 和 `PUT` 請求中的 `item_id` 是否是 `int` 型別。
        - 如果驗證失敗,將會返回清楚有用的錯誤訊息。
    - 查看 `GET` 請求中是否有命名為 `q` 的查詢參數 (例如 `http://127.0.0.1:8000/items/foo?q=somequery`)。
        - 因為 `q` 參數被宣告為 `= None`,所以是選填的。
        - 如果沒有宣告 `None`,則此參數將會是必填 (例如 `PUT` 範例的請求 body)。
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 18.8K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/it/admin/BackupTests.java

        @Override
        protected void testRead() {
            final Map<String, Object> searchBody = new HashMap<>();
            final String response = checkMethodBase(searchBody).get(API_PATH + "/" + LIST_ENDPOINT_SUFFIX).asString();
            assertEquals(new Integer(0), JsonPath.from(response).get("response.status"));
        }
    
        @Override
        protected void tearDown() {
            // do nothing
        }
    
        @Test
        void crudTest() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/FileTypeHelper.java

            }
        }
    
        public void add(final String mimetype, final String filetype) {
            mimetypeMap.put(mimetype, filetype);
        }
    
        public String get(final String mimetype) {
            final String filetype = mimetypeMap.get(mimetype);
            if (StringUtil.isBlank(filetype)) {
                return defaultValue;
            }
            return filetype;
        }
    
        public String getDefaultValue() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  5. regression-test/src/androidTest/java/okhttp/regression/compare/ApacheHttpClientHttp2Test.kt

      @Test
      fun testHttp2() {
        val client = HttpAsyncClients.createHttp2Default()
    
        client.use { client ->
          client.start()
          val request = SimpleHttpRequests.get("https://google.com/robots.txt")
          val response = client.execute(request, LoggingCallback).get()
    
          println("Protocol ${response.version}")
          println("Response ${response.code}")
          println("${response.body.bodyText.substring(0, 20)}...")
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/AbstractRangeSetTest.java

        List<Range<C>> asRanges = ImmutableList.copyOf(rangeSet.asRanges());
    
        // test that connected ranges are coalesced
        for (int i = 0; i + 1 < asRanges.size(); i++) {
          Range<C> range1 = asRanges.get(i);
          Range<C> range2 = asRanges.get(i + 1);
          assertFalse(range1.isConnected(range2));
        }
    
        // test that there are no empty ranges
        for (Range<C> range : asRanges) {
          assertFalse(range.isEmpty());
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 20:09:59 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ForwardingListMultimap.java

      /** Constructor for use by subclasses. */
      protected ForwardingListMultimap() {}
    
      @Override
      protected abstract ListMultimap<K, V> delegate();
    
      @Override
      public List<V> get(@ParametricNullness K key) {
        return delegate().get(key);
      }
    
      @CanIgnoreReturnValue
      @Override
      public List<V> removeAll(@CheckForNull Object key) {
        return delegate().removeAll(key);
      }
    
      @CanIgnoreReturnValue
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 15 21:08:00 UTC 2021
    - 2.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/collection/CaseInsensitiveMap.java

         * @return キーが含まれているかどうか
         */
        public boolean containsKey(final String key) {
            return super.containsKey(convertKey(key));
        }
    
        @Override
        public V get(final Object key) {
            return super.get(convertKey(key));
        }
    
        @Override
        public final V put(final String key, final V value) {
            return super.put(convertKey(key), value);
        }
    
        @Override
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/feature/Features.java

            return doGet(userProperties != null ? userProperties.get(key) : null, def);
        }
    
        private static boolean doGet(Map<String, ?> userProperties, String key, boolean def) {
            return doGet(userProperties != null ? userProperties.get(key) : null, def);
        }
    
        private static boolean doGet(Object val, boolean def) {
            if (val instanceof Boolean) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Sep 11 16:31:06 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  10. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t12/ProjectInheritanceTest.java

            Map pluginMap = project1.getBuild().getPluginsAsMap();
            Plugin compilerPlugin = (Plugin) pluginMap.get("org.apache.maven.plugins:maven-compiler-plugin");
    
            assertNotNull(compilerPlugin);
    
            Map executionMap = compilerPlugin.getExecutionsAsMap();
            assertNull(
                    executionMap.get("test"),
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.6K bytes
    - Viewed (0)
Back to top