Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 241 - 250 of 650 for clientv3 (0.05 seconds)

  1. tests/test_tutorial/test_request_forms/test_tutorial001.py

    
    @pytest.fixture(
        name="client",
        params=[
            "tutorial001_py39",
            "tutorial001_an_py39",
        ],
    )
    def get_client(request: pytest.FixtureRequest):
        mod = importlib.import_module(f"docs_src.request_forms.{request.param}")
    
        client = TestClient(mod.app)
        return client
    
    
    def test_post_body_form(client: TestClient):
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  2. tests/test_request_params/test_header/test_required_str.py

                "in": "header",
            }
        ]
    
    
    @pytest.mark.parametrize(
        "path",
        ["/required-str", "/model-required-str"],
    )
    def test_required_str_missing(path: str):
        client = TestClient(app)
        response = client.get(path)
        assert response.status_code == 422
        assert response.json() == {
            "detail": [
                {
                    "type": "missing",
                    "loc": ["header", "p"],
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 10K bytes
    - Click Count (0)
  3. tests/test_dependency_overrides.py

        }
    
    
    def test_main_depends_q_foo():
        response = client.get("/main-depends/?q=foo")
        assert response.status_code == 200
        assert response.json() == {
            "in": "main-depends",
            "params": {"q": "foo", "skip": 0, "limit": 100},
        }
    
    
    def test_main_depends_q_foo_skip_100_limit_200():
        response = client.get("/main-depends/?q=foo&skip=100&limit=200")
        assert response.status_code == 200
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 11.2K bytes
    - Click Count (0)
  4. tests/test_tutorial/test_query_params_str_validations/test_tutorial002.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_empty_str(client: TestClient):
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 10:43:02 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  5. helm-releases/minio-5.1.0.tgz

    -external-identity-management.html for a tutorial on using these variables. oidc: enabled: false configUrl: "https://identity-provider-url/.well-known/openid-configuration" clientId: "minio" clientSecret: "" # Provide existing client secret from the Kubernetes Secret resource, existing secret will have priority over `clientId` and/or `clientSecret`` existingClientSecret: "" existingClientIdKey: "" existingClientSecret: "" claimName: "policy" scopes: "openid,profile,email" redirectUri: "https://c...
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Mar 03 18:49:37 GMT 2024
    - 21.3K bytes
    - Click Count (0)
  6. helm-releases/minio-5.2.0.tgz

    -external-identity-management.html for a tutorial on using these variables. oidc: enabled: false configUrl: "https://identity-provider-url/.well-known/openid-configuration" clientId: "minio" clientSecret: "" # Provide existing client secret from the Kubernetes Secret resource, existing secret will have priority over `clientId` and/or `clientSecret`` existingClientSecret: "" existingClientIdKey: "" existingClientSecret: "" claimName: "policy" scopes: "openid,profile,email" redirectUri: "https://c...
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Apr 28 10:14:37 GMT 2024
    - 21.7K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/suggest/settings/ArraySettings.java

         * @param settings Suggest settings
         * @param client OpenSearch client
         * @param settingsIndexName Settings index name
         * @param settingsId Settings ID
         */
        protected ArraySettings(final SuggestSettings settings, final Client client, final String settingsIndexName, final String settingsId) {
            this.settings = settings;
            this.client = client;
    Created: Sat Dec 20 13:04:59 GMT 2025
    - Last Modified: Mon Nov 24 03:40:05 GMT 2025
    - 15.8K bytes
    - Click Count (0)
  8. tests/test_request_params/test_body/test_required_str.py

    @pytest.mark.parametrize("json", [None, {}])
    @pytest.mark.parametrize(
        "path",
        ["/required-str", "/model-required-str"],
    )
    def test_required_str_missing(path: str, json: Union[dict[str, Any], None]):
        client = TestClient(app)
        response = client.post(path, json=json)
        assert response.status_code == 422
        assert response.json() == {
            "detail": [
                {
                    "type": "missing",
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 11K bytes
    - Click Count (0)
  9. tests/test_request_params/test_file/test_optional_list.py

    )
    def test_optional_list_missing(path: str):
        client = TestClient(app)
        response = client.post(path)
        assert response.status_code == 200, response.text
        assert response.json() == {"file_size": None}
    
    
    @pytest.mark.parametrize(
        "path",
        [
            "/optional-list-bytes",
            "/optional-list-uploadfile",
        ],
    )
    def test_optional_list(path: str):
        client = TestClient(app)
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 10.4K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/suggest/SuggesterRefactoringTest.java

            // Create first index with alias
            client.admin().indices().prepareCreate(index1).addAlias(new Alias(aliasName)).execute().actionGet();
    
            // Create second index and add to same alias
            client.admin().indices().prepareCreate(index2).execute().actionGet();
            client.admin().indices().prepareAliases().addAlias(index2, aliasName).execute().actionGet();
    
    Created: Sat Dec 20 13:04:59 GMT 2025
    - Last Modified: Mon Nov 24 03:40:05 GMT 2025
    - 13.4K bytes
    - Click Count (0)
Back to Top