Search Options

Results per page
Sort
Preferred Languages
Advance

Results 771 - 780 of 3,152 for get2 (0.03 sec)

  1. docs_src/metadata/tutorial004.py

                "url": "https://fastapi.tiangolo.com/",
            },
        },
    ]
    
    app = FastAPI(openapi_tags=tags_metadata)
    
    
    @app.get("/users/", tags=["users"])
    async def get_users():
        return [{"name": "Harry"}, {"name": "Ron"}]
    
    
    @app.get("/items/", tags=["items"])
    async def get_items():
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Jun 13 11:58:06 UTC 2020
    - 693 bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/Helpers.java

       *   <li><i>consistency</i>: {@code comparator.compare(ti, tj) < 0} and {@code
       *       comparator.compare(tj, ti) > 0} for {@code i < j}, where {@code ti =
       *       valuesInExpectedOrder.get(i)} and {@code tj = valuesInExpectedOrder.get(j)}.
       * </ul>
       */
      public static <T extends @Nullable Object> void testComparator(
          Comparator<? super T> comparator, List<T> valuesInExpectedOrder) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/beans/util/BeanMap.java

    /**
     * Stringがキーで、存在しないキーにアクセスする(get)と例外を投げるマップです。
     *
     * @author higa
     */
    public class BeanMap extends LinkedHashMap<String, Object> {
    
        private static final long serialVersionUID = 1;
    
        @Override
        public Object get(final Object key) {
            if (!containsKey(key)) {
                throw new IllegalKeyOfBeanMapException(key, this);
            }
            return super.get(key);
        }
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_events/test_tutorial003.py

            response = client.get("/predict", params={"x": 2})
            assert response.status_code == 200, response.text
            assert response.json() == {"result": 84.0}
        assert not ml_models, "ml_models should be empty"
    
    
    def test_openapi_schema():
        with TestClient(app) as client:
            response = client.get("/openapi.json")
            assert response.status_code == 200, response.text
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/api/admin/dataconfig/ApiAdminDataconfigAction.java

                            .total(pager.getAllRecordCount()).status(ApiResult.Status.OK).result());
        }
    
        // GET /api/admin/dataconfig/setting/{id}
        @Execute
        public JsonResponse<ApiResult> get$setting(final String id) {
            return asJson(new ApiConfigResponse().setting(dataConfigService.getDataConfig(id).map(this::createEditBody).orElseGet(() -> {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 7K bytes
    - Viewed (0)
  6. cmd/metrics-v3-bucket-replication.go

    		"Number of failures in GET requests proxied to replication target",
    		bucketL)
    	bucketReplProxiedGetRequestsTotalMD = NewCounterMD(bucketReplProxiedGetRequestsTotal,
    		"Number of GET requests proxied to replication target",
    		bucketL)
    	bucketReplProxiedGetTaggingRequestsFailuresMD = NewCounterMD(bucketReplProxiedGetTaggingRequestsFailures,
    		"Number of failures in GET tagging requests proxied to replication target",
    		bucketL)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  7. tests/test_tutorial/test_response_model/test_tutorial004_py310.py

                },
            ),
        ],
    )
    def test_get(url, data, client: TestClient):
        response = client.get(url)
        assert response.status_code == 200, response.text
        assert response.json() == data
    
    
    @needs_py310
    def test_openapi_schema(client: TestClient):
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "openapi": "3.1.0",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Aug 04 20:47:07 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  8. tests/test_validate_response_recursive/test_validate_response_recursive_pv1.py

    @needs_pydanticv1
    def test_recursive():
        from .app_pv1 import app
    
        client = TestClient(app)
        response = client.get("/items/recursive")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "sub_items": [{"name": "subitem", "sub_items": []}],
            "name": "item",
        }
    
        response = client.get("/items/recursive-submodel")
        assert response.status_code == 200, response.text
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 900 bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Maps.java

       * NavigableMap<K, V> map2 = map.subMap(foo, false, bar, true);
       *
       * // Needn't be in synchronized block
       * NavigableSet<K> set2 = map2.descendingKeySet();
       *
       * synchronized (map) { // Synchronizing on map, not map2 or set2!
       *   Iterator<K> it = set2.iterator(); // Must be in synchronized block
       *   while (it.hasNext()) {
       *     foo(it.next());
       *   }
       * }
       * }</pre>
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 161.6K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/Maps.java

       * NavigableMap<K, V> map2 = map.subMap(foo, false, bar, true);
       *
       * // Needn't be in synchronized block
       * NavigableSet<K> set2 = map2.descendingKeySet();
       *
       * synchronized (map) { // Synchronizing on map, not map2 or set2!
       *   Iterator<K> it = set2.iterator(); // Must be in synchronized block
       *   while (it.hasNext()) {
       *     foo(it.next());
       *   }
       * }
       * }</pre>
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 167.4K bytes
    - Viewed (0)
Back to top