Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 191 - 200 of 2,008 for client (0.04 seconds)

  1. tests/test_request_params/test_header/test_optional_list.py

    def test_optional_list_str_missing(path: str):
        client = TestClient(app)
        response = client.get(path)
        assert response.status_code == 200, response.text
        assert response.json() == {"p": None}
    
    
    @pytest.mark.parametrize(
        "path",
        ["/optional-list-str", "/model-optional-list-str"],
    )
    def test_optional_list_str(path: str):
        client = TestClient(app)
        response = client.get(path, headers=[("p", "hello"), ("p", "world")])
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 9.6K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/suggest/SuggesterBuilder.java

            this.threadPoolSize = threadPoolSize;
            return this;
        }
    
        /**
         * Builds a Suggester instance.
         * @param client The OpenSearch client.
         * @param id The ID.
         * @return A Suggester instance.
         */
        public Suggester build(final Client client, final String id) {
            if (settings == null) {
                if (settingsBuilder == null) {
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Mon Nov 24 03:40:05 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/gcs/GcsClient.java

    import com.google.cloud.storage.StorageOptions;
    
    import jakarta.annotation.Resource;
    
    /**
     * A crawler client implementation for accessing and retrieving content from Google Cloud Storage.
     * This client supports operations on GCS buckets and objects.
     *
     * <p>This client requires the following initialization parameters:
     * <ul>
     *   <li>projectId - The Google Cloud project ID</li>
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Thu Dec 11 08:38:29 GMT 2025
    - 17.5K bytes
    - Click Count (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt

          client =
            client
              .newBuilder()
              .sslSocketFactory(
                handshakeCertificates.sslSocketFactory(),
                handshakeCertificates.trustManager,
              ).hostnameVerifier(RecordingHostnameVerifier())
              .build()
        }
        server.enqueue(MockResponse())
        client =
          client
            .newBuilder()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 133.3K bytes
    - Click Count (0)
  5. src/test/java/jcifs/netbios/NameServiceClientImplTest.java

        }
    
        @Test
        @DisplayName("Should handle constructor with context")
        void testConstructor() {
            // When
            NameServiceClientImpl client = new NameServiceClientImpl(mockContext);
    
            // Then
            assertNotNull(client, "Should create client instance");
        }
    
        @Test
        @DisplayName("Should handle constructor with null context")
        void testConstructorWithNullContext() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 11K bytes
    - Click Count (0)
  6. tests/test_request_params/test_query/test_list.py

                }
            ]
        )
    
    
    @pytest.mark.parametrize(
        "path",
        ["/required-list-str", "/model-required-list-str"],
    )
    def test_required_list_str_missing(path: str):
        client = TestClient(app)
        response = client.get(path)
        assert response.status_code == 422
        assert response.json() == {
            "detail": [
                {
                    "type": "missing",
                    "loc": ["query", "p"],
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:18:38 GMT 2026
    - 11.2K bytes
    - Click Count (0)
  7. CHANGELOG/CHANGELOG-1.2.md

    [kubernetes-client-linux-386.tar.gz](https://storage.googleapis.com/kubernetes-release/release/v1.2.7/kubernetes-client-linux-386.tar.gz) | `619e0a450cddf10ed1d42ed1d6330d41a75b9c1e00eb654cbe4b0422cd6099c5`
    Created: Fri Apr 03 09:05:14 GMT 2026
    - Last Modified: Fri Dec 04 06:36:19 GMT 2020
    - 41.4K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/helper/JobHelperTest.java

                // If it succeeds, check that lastUpdated is set
                assertNotNull(jobLog.getLastUpdated());
            } catch (Exception e) {
                // Expected in test environment due to missing client
                assertTrue(e.getMessage().contains("client"));
            }
        }
    
        @Test
        public void test_monitorTarget_expired_withEndTime() {
            JobLog jobLog = new JobLog();
            jobLog.setId("test-log-2");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 6.5K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/helper/IndexingHelper.java

    import org.apache.logging.log4j.Logger;
    import org.apache.lucene.search.TotalHits;
    import org.codelibs.fess.mylasta.direction.FessConfig;
    import org.codelibs.fess.opensearch.client.SearchEngineClient;
    import org.codelibs.fess.opensearch.client.SearchEngineClientException;
    import org.codelibs.fess.thumbnail.ThumbnailManager;
    import org.codelibs.fess.util.ComponentUtil;
    import org.codelibs.fess.util.DocList;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 26.1K bytes
    - Click Count (0)
  10. tests/test_get_model_definitions_formfeed_escape.py

            return Facility(
                id=facility_id,
                address=Address(line_1="123 Main St", city="Anytown", state_province="CA"),
            )
    
        client = TestClient(app)
        return client
    
    
    def test_get(client: TestClient):
        response = client.get("/facilities/42")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "id": "42",
            "address": {
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Feb 04 14:34:02 GMT 2026
    - 6K bytes
    - Click Count (0)
Back to Top