Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 313 for PARAMS (0.06 sec)

  1. tests/test_enforce_once_required_parameter.py

    
    def test_get_invalid():
        response = client.get("/foo")
        assert response.status_code == status.HTTP_422_UNPROCESSABLE_ENTITY
    
    
    def test_get_valid():
        response = client.get("/foo", params={"client_id": "bar"})
        assert response.status_code == 200
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/internal/http/CancelTest.kt

    import org.junit.jupiter.api.Assertions.assertEquals
    import org.junit.jupiter.api.Tag
    import org.junit.jupiter.api.Timeout
    import org.junit.jupiter.api.extension.RegisterExtension
    import org.junit.jupiter.params.ParameterizedTest
    import org.junit.jupiter.params.provider.ArgumentsSource
    
    @Timeout(30)
    @Tag("Slow")
    class CancelTest {
      @JvmField @RegisterExtension
      val platform = PlatformRule()
    
      lateinit var cancelMode: CancelMode
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  3. tests/test_repeated_parameter_alias.py

        query: str = Query(..., alias="repeated_alias"),
    ):
        return {"path": path, "query": query}
    
    
    client = TestClient(app)
    
    
    def test_get_parameters():
        response = client.get("/test_path", params={"repeated_alias": "test_query"})
        assert response.status_code == 200, response.text
        assert response.json() == {"path": "test_path", "query": "test_query"}
    
    
    def test_openapi_schema():
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  4. tests/test_starlette_urlconvertors.py

        assert response.status_code == 200, response.text
        assert response.json() == {"path": "some/example"}
    
    
    def test_route_converters_query():
        # Test query conversion
        response = client.get("/query", params={"param": "Qué tal!"})
        assert response.status_code == 200, response.text
        assert response.json() == {"query": "Qué tal!"}
    
    
    def test_url_path_for_path_convertor():
        assert (
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Nov 27 14:46:06 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/crawler/transformer/FessFileTransformerTest.java

        }
    
        public void test_processFieldConfigs() {
            final FessFileTransformer transformer = createInstance();
            final Map<String, String> params = Maps.of("foo", "cache", "bar", "overwrite", "baz", "cache|overwrite");
            FieldConfigs fieldConfigs = new FieldConfigs(params);
            final Map<String, Object> dataMap = Map.of(//
                    "foo", new String[] { "aaa", "bbb" }, //
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Jul 04 06:20:49 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  6. docs/sts/ldap.md

    | Params     | Value    |
    | :--        | :--      |
    | _Type_     | _String_ |
    | _Required_ | _Yes_    |
    
    ### DurationSeconds
    
    The duration, in seconds. The value can range from 900 seconds (15 minutes) up to 365 days. If value is higher than this setting, then operation fails. By default, the value is set to 3600 seconds.
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/ActivityHelper.java

            final Map<String, String> valueMap = new LinkedHashMap<>();
            valueMap.put("action", action.replace('\t', '_').toUpperCase(Locale.ENGLISH));
            valueMap.put("user", user.map(FessUserBean::getUserId).orElse("-"));
            final Comparator<Map.Entry<String, String>> c = Comparator.comparing(Map.Entry::getKey);
            params.entrySet().stream().sorted(c).forEach(e -> {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  8. interfaces.go

    }
    
    // Plugin GORM plugin interface
    type Plugin interface {
    	Name() string
    	Initialize(*DB) error
    }
    
    type ParamsFilter interface {
    	ParamsFilter(ctx context.Context, sql string, params ...interface{}) (string, []interface{})
    }
    
    // ConnPool db conns pool interface
    type ConnPool interface {
    	PrepareContext(ctx context.Context, query string) (*sql.Stmt, error)
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Sat Aug 19 13:33:31 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/es/client/SearchEngineClient.java

                final Map<String, Object> params = new HashMap<>();
                params.put("query", query);
                params.put("responseFields", responseFields);
                params.put("offset", offset);
                params.put("size", size);
                // TODO support rescorer(convert to map)
                // params.put("geoInfo", geoInfo);
                // params.put("facetInfo", facetInfo);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun Oct 20 02:08:03 UTC 2024
    - 86.1K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/sso/saml/SamlAuthenticator.java

            final Map<String, Object> params = new HashMap<>(defaultSettings);
            final DynamicProperties systemProperties = ComponentUtil.getSystemProperties();
            systemProperties.entrySet().stream().forEach(e -> {
                final String key = e.getKey().toString();
                if (!key.startsWith(SAML_PREFIX)) {
                    return;
                }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 15.2K bytes
    - Viewed (0)
Back to top