Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1421 - 1430 of 3,843 for getD (0.03 sec)

  1. 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)
  2. src/test/java/org/codelibs/curl/CurlTest.java

    import org.junit.Test;
    
    public class CurlTest {
        private static final Logger logger = Logger.getLogger(CurlTest.class.getName());
    
        @Test
        public void test_Get() {
            Curl.get("https://www.codelibs.org/").execute(response -> {
                final String content = response.getContentAsString();
                logger.info(content);
                assertTrue(content.length() > 0);
            }, e -> {
    Registered: Thu Oct 31 02:32:13 UTC 2024
    - Last Modified: Mon Nov 14 21:05:19 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/FilteredEntrySetMultimap.java

        super(unfiltered, predicate);
      }
    
      @Override
      public SetMultimap<K, V> unfiltered() {
        return (SetMultimap<K, V>) unfiltered;
      }
    
      @Override
      public Set<V> get(@ParametricNullness K key) {
        return (Set<V>) super.get(key);
      }
    
      @Override
      public Set<V> removeAll(@CheckForNull Object key) {
        return (Set<V>) super.removeAll(key);
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 15 21:08:00 UTC 2021
    - 2K bytes
    - Viewed (0)
  4. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/crypto/DefaultSettingsDecryptionResult.java

        }
    
        @Override
        public Server getServer() {
            return servers.isEmpty() ? null : servers.get(0);
        }
    
        @Override
        public List<Server> getServers() {
            return servers;
        }
    
        @Override
        public Proxy getProxy() {
            return proxies.isEmpty() ? null : proxies.get(0);
        }
    
        @Override
        public List<Proxy> getProxies() {
            return proxies;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  5. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/classanalysis/ClassGraph.kt

        val shadowPackagePrefix =
            shadowPackage.takeIf(String::isNotEmpty)
                ?.let { it.replace('.', '/') + "/" }
                ?: ""
    
        operator fun get(className: String) =
            classes.computeIfAbsent(className) {
                val outputClassName = if (unshadedPackages.matches(className)) className else shadowPackagePrefix + className
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Sat Sep 30 16:17:28 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  6. cni/pkg/repair/repaircontroller.go

    	// This will get a network namespace ID. This ID is scoped to the network namespace we running in.
    	// As such, we need to be in the host namespace: the CNI pod namespace has no relation to the users pod namespace.
    	netns, err := runInHost(func() (string, error) { return getPodNetNs(pod) })
    	if err != nil {
    		m.With(resultLabel.Value(resultFail)).Increment()
    		return fmt.Errorf("get netns: %v", err)
    	}
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Sat Feb 10 00:31:55 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/DerivedCollectionGenerators.java

          SampleElements<E> samples = delegate.samples();
          List<E> samplesList = new ArrayList<>(samples.asList());
          sort(samplesList, comparator);
          this.firstInclusive = samplesList.get(0);
          this.lastInclusive = samplesList.get(samplesList.size() - 1);
        }
    
        public final TestSortedSetGenerator<E> getInnerGenerator() {
          return delegate;
        }
    
        public final Bound getTo() {
          return to;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/util/DocMap.java

        }
    
        @Override
        public boolean containsValue(final Object value) {
            return parent.containsValue(value);
        }
    
        @Override
        public Object get(final Object key) {
            return parent.get(key);
        }
    
        @Override
        public Object put(final String key, final Object value) {
            return parent.put(key, value);
        }
    
        @Override
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  9. okhttp-android/src/test/kotlin/okhttp3/android/AndroidLoggingTest.kt

          // expected
        }
    
        val logs = ShadowLog.getLogsForTag("testHttpLoggingInterceptor")
        assertThat(logs.map { it.type }).containsOnly(Log.INFO)
        assertThat(logs.map { it.msg }).containsExactly(
          "--> GET http://google.com/robots.txt",
          "<-- HTTP FAILED: java.net.UnknownHostException: shortcircuit",
        )
        // We should consider if these logs should retain Exceptions
        assertThat(logs.last().throwable).isNull()
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 01 11:07:32 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/service/CharMappingService.java

        }
    
        public OptionalEntity<CharMappingItem> getCharMappingItem(final String dictId, final long id) {
            return getCharMappingFile(dictId).map(file -> file.get(id).get());
        }
    
        public void store(final String dictId, final CharMappingItem charMappingItem) {
            getCharMappingFile(dictId).ifPresent(file -> {
                if (charMappingItem.getId() == 0) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3.2K bytes
    - Viewed (0)
Back to top