Search Options

Results per page
Sort
Preferred Languages
Advance

Results 251 - 260 of 3,913 for getY (0.05 sec)

  1. tests/test_deprecated_openapi_prefix.py

    from fastapi.testclient import TestClient
    
    app = FastAPI(openapi_prefix="/api/v1")
    
    
    @app.get("/app")
    def read_main(request: Request):
        return {"message": "Hello World", "root_path": request.scope.get("root_path")}
    
    
    client = TestClient(app)
    
    
    def test_main():
        response = client.get("/app")
        assert response.status_code == 200
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  2. docs/changelogs/changelog_3x.md

        inappropriate.
    
     *  New: `HttpUrl.get(String)` is an alternative to `HttpUrl.parse(String)` that throws an exception
        when the URL is malformed instead of returning null. Use this to avoid checking for null in
        situations where the input is known to be well-formed. We've also added `MediaType.get(String)`
        which is an exception-throwing alternative to `MediaType.parse(String)`.
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 06 14:55:54 UTC 2022
    - 50.8K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/mylasta/direction/FessEnv.java

                return get(FessEnv.lasta_di_SMART_DEPLOY_MODE);
            }
    
            public String getDevelopmentHere() {
                return get(FessEnv.DEVELOPMENT_HERE);
            }
    
            public boolean isDevelopmentHere() {
                return is(FessEnv.DEVELOPMENT_HERE);
            }
    
            public String getEnvironmentTitle() {
                return get(FessEnv.ENVIRONMENT_TITLE);
            }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapGetTester.java

        assertContains(multimap().get(null), getValueForNullKey());
      }
    
      @MapFeature.Require(ALLOWS_NULL_KEY_QUERIES)
      public void testGetNullAbsent() {
        assertEmpty(multimap().get(null));
      }
    
      @MapFeature.Require(absent = ALLOWS_NULL_KEY_QUERIES)
      public void testGetNullForbidden() {
        assertThrows(NullPointerException.class, () -> multimap().get(null));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/suggest/SuggesterTest.java

            assertEquals(1, response.getNum());
            assertEquals("検索 エンジン", response.getWords().get(0));
    
            response = suggester.suggest().setQuery("kensaku  enj").execute().getResponse();
            assertEquals(1, response.getNum());
            assertEquals("検索 エンジン", response.getWords().get(0));
    
            response = suggester.suggest().setQuery("zenbun").setSuggestDetail(true).execute().getResponse();
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 37K bytes
    - Viewed (0)
  6. tests/test_computed_fields.py

            length: int
    
            @computed_field
            @property
            def area(self) -> int:
                return self.width * self.length
    
        @app.get("/")
        def read_root() -> Rectangle:
            return Rectangle(width=3, length=4)
    
        @app.get("/responses", responses={200: {"model": Rectangle}})
        def read_responses() -> Rectangle:
            return Rectangle(width=3, length=4)
    
        client = TestClient(app)
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Oct 12 09:44:57 UTC 2024
    - 3K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapAsMapGetTester.java

        Collection<V> result = multimap().asMap().get(k0());
        result.add(v3());
        assertContentsAnyOrder(multimap().get(k0()), v0(), v3());
      }
    
      @CollectionSize.Require(absent = ZERO)
      @MapFeature.Require({SUPPORTS_REMOVE, SUPPORTS_PUT})
      public void testPropagatesRemoveThenAddToMultimap() {
        int oldSize = getNumElements();
    
        Collection<V> result = multimap().asMap().get(k0());
        assertTrue(result.remove(v0()));
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5K bytes
    - Viewed (0)
  8. tests/test_tutorial/test_security/test_tutorial005.py

    
    def test_no_token():
        response = client.get("/users/me")
        assert response.status_code == 401, response.text
        assert response.json() == {"detail": "Not authenticated"}
        assert response.headers["WWW-Authenticate"] == "Bearer"
    
    
    def test_token():
        access_token = get_access_token(scope="me")
        response = client.get(
            "/users/me", headers={"Authorization": f"Bearer {access_token}"}
        )
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Mar 13 19:07:10 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/es/config/bsbhv/BsScheduledJobBhv.java

                result.setName(DfTypeUtil.toString(source.get("name")));
                result.setScriptData(DfTypeUtil.toString(source.get("scriptData")));
                result.setScriptType(DfTypeUtil.toString(source.get("scriptType")));
                result.setSortOrder(DfTypeUtil.toInteger(source.get("sortOrder")));
                result.setTarget(DfTypeUtil.toString(source.get("target")));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/es/config/exentity/WebConfigTest.java

            Map<String, Object> initParamMap = initParamMapSet.get();
            assertNotNull(initParamMap);
            assertEquals(0, ((org.codelibs.fess.crawler.client.http.RequestHeader[]) initParamMap.get("requestHeaders")).length);
            assertEquals("Mozilla/5.0 (compatible; Fess/98.76; +http://fess.codelibs.org/bot.html)", initParamMap.get("userAgent"));
            assertEquals(0, ((Authentication[]) initParamMap.get(HcHttpClient.AUTHENTICATIONS_PROPERTY)).length);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu May 09 09:48:04 UTC 2024
    - 7.6K bytes
    - Viewed (0)
Back to top