Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2521 - 2530 of 3,913 for getD (0.07 sec)

  1. docs/ko/docs/tutorial/body.md

    /// info | "정보"
    
    데이터를 보내기 위해, (좀 더 보편적인) `POST`, `PUT`, `DELETE` 혹은 `PATCH` 중에 하나를 사용하는 것이 좋습니다.
    
    `GET` 요청에 본문을 담아 보내는 것은 명세서에 정의되지 않은 행동입니다. 그럼에도 불구하고, 이 방식은 아주 복잡한/극한의 사용 상황에서만 FastAPI에 의해 지원됩니다.
    
    `GET` 요청에 본문을 담는 것은 권장되지 않기에, Swagger UI같은 대화형 문서에서는 `GET` 사용시 담기는 본문에 대한 문서를 표시하지 않으며, 중간에 있는 프록시는 이를 지원하지 않을 수도 있습니다.
    
    ///
    
    ## Pydantic의 `BaseModel` 임포트
    
    먼저 `pydantic`에서 `BaseModel`를 임포트해야 합니다:
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Iterators.java

       */
      public static int frequency(Iterator<?> iterator, @CheckForNull Object element) {
        int count = 0;
        while (contains(iterator, element)) {
          // Since it lives in the same class, we know contains gets to the element and then stops,
          // though that isn't currently publicly documented.
          count++;
        }
        return count;
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 50.3K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java

            Object p, Method calledMethod, @Nullable Object[] args) throws Throwable {
          assertEquals(method, calledMethod);
          assertEquals(method + " invoked more than once.", 0, called.get());
          for (int i = 0; i < passedArgs.length; i++) {
            assertEquals(
                "Parameter #" + i + " of " + method + " not forwarded", passedArgs[i], args[i]);
          }
          called.getAndIncrement();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/DescendingImmutableSortedMultiset.java

      }
    
      @Override
      public ImmutableSortedSet<E> elementSet() {
        return forward.elementSet().descendingSet();
      }
    
      @Override
      Entry<E> getEntry(int index) {
        return forward.entrySet().asList().reverse().get(index);
      }
    
      @Override
      public ImmutableSortedMultiset<E> descendingMultiset() {
        return forward;
      }
    
      @Override
      public ImmutableSortedMultiset<E> headMultiset(E upperBound, BoundType boundType) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  5. tests/test_tutorial/test_dataclasses/test_tutorial001.py

                        "msg": "value is not a valid float",
                        "type": "type_error.float",
                    }
                ]
            }
        )
    
    
    def test_openapi_schema():
        response = client.get("/openapi.json")
        assert response.status_code == 200
        assert response.json() == {
            "openapi": "3.1.0",
            "info": {"title": "FastAPI", "version": "0.1.0"},
            "paths": {
                "/items/": {
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  6. tests/test_custom_middleware_exception.py

                nonlocal received
                message = await receive()
                if message["type"] != "http.request":
                    return message  # pragma: no cover
    
                body_len = len(message.get("body", b""))
                received += body_len
                if received > self.max_content_size:
                    raise HTTPException(
                        422,
                        detail={
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Aug 25 21:44:40 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  7. tests/test_union_inherited_body.py

        response = client.post("/items/", json={"name": "Foo"})
        assert response.status_code == 200, response.text
        assert response.json() == {"item": {"name": "Foo"}}
    
    
    def test_openapi_schema():
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "openapi": "3.1.0",
            "info": {"title": "FastAPI", "version": "0.1.0"},
            "paths": {
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  8. cmd/metrics-router.go

    func registerMetricsRouter(router *mux.Router) {
    	// metrics router
    	metricsRouter := router.NewRoute().PathPrefix(minioReservedBucketPath).Subrouter()
    	authType := prometheusAuthType(strings.ToLower(env.Get(EnvPrometheusAuthType, string(prometheusJWT))))
    
    	auth := AuthMiddleware
    	if authType == prometheusPublic {
    		auth = NoAuthMiddleware
    	}
    
    	metricsRouter.Handle(prometheusMetricsPathLegacy, auth(metricsHandler()))
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 15 16:28:02 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/es/config/exentity/RequestHeader.java

            if (webConfig == null) {
                final WebConfigService webConfigService = ComponentUtil.getComponent(WebConfigService.class);
                try {
                    webConfig = webConfigService.getWebConfig(getWebConfigId()).get();
                } catch (final Exception e) {
                    logger.warn("Web Config {} does not exist.", getWebConfigId(), e);
                }
            }
            return webConfig;
        }
    
        @Override
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/graph/EdgesConnecting.java

        E connectingEdge = getConnectingEdge();
        return (connectingEdge != null && connectingEdge.equals(edge));
      }
    
      @CheckForNull
      private E getConnectingEdge() {
        return nodeToOutEdge.get(targetNode);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 26 17:43:39 UTC 2021
    - 2.2K bytes
    - Viewed (0)
Back to top