Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 331 - 340 of 1,997 for Cliente (0.05 seconds)

  1. tests/test_tutorial/test_authentication_error_status_code/test_tutorial001.py

    
    @pytest.fixture(
        name="client",
        params=[
            "tutorial001_an_py39",
        ],
    )
    def get_client(request: pytest.FixtureRequest):
        mod = importlib.import_module(
            f"docs_src.authentication_error_status_code.{request.param}"
        )
    
        client = TestClient(mod.app)
        return client
    
    
    def test_get_me(client: TestClient):
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/suggest/index/writer/SuggestIndexWriter.java

         */
        public SuggestIndexWriter() {
            // nothing
        }
    
        @Override
        public SuggestWriterResult write(final Client client, final SuggestSettings settings, final String index, final SuggestItem[] items,
                final boolean update) {
            final BulkRequestBuilder bulkRequestBuilder = client.prepareBulk();
    
            final SuggestItem[] mergedItems = mergeItems(items);
            if (mergedItems.length == 0) {
    Created: Sat Dec 20 13:04:59 GMT 2025
    - Last Modified: Thu Nov 20 08:32:33 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  3. tests/test_tutorial/test_body_nested_models/test_tutorial009.py

    
    @pytest.fixture(
        name="client",
        params=[
            "tutorial009_py39",
        ],
    )
    def get_client(request: pytest.FixtureRequest):
        mod = importlib.import_module(f"docs_src.body_nested_models.{request.param}")
    
        client = TestClient(mod.app)
        return client
    
    
    def test_post_body(client: TestClient):
        data = {"2": 2.2, "3": 3.3}
        response = client.post("/index-weights/", json=data)
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 4K bytes
    - Click Count (0)
  4. tests/test_tutorial/test_query_params_str_validations/test_tutorial011.py

        )
    
        client = TestClient(mod.app)
        return client
    
    
    def test_multi_query_values(client: TestClient):
        url = "/items/?q=foo&q=bar"
        response = client.get(url)
        assert response.status_code == 200, response.text
        assert response.json() == {"q": ["foo", "bar"]}
    
    
    def test_query_no_values(client: TestClient):
        url = "/items/"
        response = client.get(url)
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  5. tests/test_tutorial/test_query_params_str_validations/test_tutorial007.py

        )
    
        client = TestClient(mod.app)
        return client
    
    
    def test_query_params_str_validations_no_query(client: TestClient):
        response = client.get("/items/")
        assert response.status_code == 200
        assert response.json() == {"items": [{"item_id": "Foo"}, {"item_id": "Bar"}]}
    
    
    def test_query_params_str_validations_q_fixedquery(client: TestClient):
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 10:43:02 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/suggest/settings/SuggestSettings.java

        }
    
        /**
         * Constructor for SuggestSettings.
         * @param client The OpenSearch client.
         * @param settingsId The settings ID.
         * @param initialSettings The initial settings.
         * @param settingsIndexName The settings index name.
         * @param timeoutSettings The timeout settings.
         */
        public SuggestSettings(final Client client, final String settingsId, final Map<String, Object> initialSettings,
    Created: Sat Dec 20 13:04:59 GMT 2025
    - Last Modified: Mon Nov 24 03:40:05 GMT 2025
    - 20.1K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/suggest/converter/AnalyzerConverter.java

        /**
         * Constructor.
         * @param client OpenSearch client
         * @param settings Suggest settings
         */
        public AnalyzerConverter(final Client client, final SuggestSettings settings) {
            this.client = client;
            this.settings = settings;
            analyzerSettings = settings.analyzer();
        }
    
        @Override
        public void init() throws IOException {
            // nothing
        }
    
        @Override
    Created: Sat Dec 20 13:04:59 GMT 2025
    - Last Modified: Mon Nov 17 14:28:21 GMT 2025
    - 6.7K bytes
    - Click Count (0)
  8. tests/test_tutorial/test_query_param_models/test_tutorial001.py

        mod = importlib.import_module(f"docs_src.query_param_models.{request.param}")
    
        client = TestClient(mod.app)
        return client
    
    
    def test_query_param_model(client: TestClient):
        response = client.get(
            "/items/",
            params={
                "limit": 10,
                "offset": 5,
                "order_by": "updated_at",
                "tags": ["tag1", "tag2"],
            },
        )
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt

          enableTls()
          client =
            client
              .newBuilder()
              .protocols(listOf(protocol, Protocol.HTTP_1_1))
              .build()
          server.protocols = client.protocols
        }
      }
    
      private fun enableTls() {
        val handshakeCertificates = platform.localhostHandshakeCertificates()
        client =
          client
            .newBuilder()
            .sslSocketFactory(
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Nov 08 21:45:04 GMT 2025
    - 18.8K bytes
    - Click Count (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/CallKotlinTest.kt

        val response = client.newCall(request).execute()
    
        response.use {
          assertEquals(200, response.code)
          assertEquals(
            "CN=localhost",
            (response.handshake!!.peerCertificates.single() as X509Certificate).subjectDN.name,
          )
        }
      }
    
      private fun enableTls() {
        client =
          client
            .newBuilder()
            .sslSocketFactory(
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Jun 20 11:46:46 GMT 2025
    - 8.4K bytes
    - Click Count (0)
Back to Top