Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 969 for optionalen (0.24 sec)

  1. tests/test_request_params/test_cookie/test_optional_str.py

        p: Optional[str] = None
    
    
    @app.get("/model-optional-str")
    async def read_model_optional_str(p: Annotated[CookieModelOptionalStr, Cookie()]):
        return {"p": p.p}
    
    
    @pytest.mark.parametrize(
        "path",
        ["/optional-str", "/model-optional-str"],
    )
    def test_optional_str_schema(path: str):
        assert app.openapi()["paths"][path]["get"]["parameters"] == [
            {
                "required": False,
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  2. tests/test_request_params/test_header/test_optional_list.py

    
    class HeaderModelOptionalListStr(BaseModel):
        p: Optional[list[str]] = None
    
    
    @app.get("/model-optional-list-str")
    async def read_model_optional_list_str(
        p: Annotated[HeaderModelOptionalListStr, Header()],
    ):
        return {"p": p.p}
    
    
    @pytest.mark.parametrize(
        "path",
        ["/optional-list-str", "/model-optional-list-str"],
    )
    def test_optional_list_str_schema(path: str):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  3. tests/test_request_params/test_header/test_optional_str.py

        p: Optional[str] = None
    
    
    @app.get("/model-optional-str")
    async def read_model_optional_str(p: Annotated[HeaderModelOptionalStr, Header()]):
        return {"p": p.p}
    
    
    @pytest.mark.parametrize(
        "path",
        ["/optional-str", "/model-optional-str"],
    )
    def test_optional_str_schema(path: str):
        assert app.openapi()["paths"][path]["get"]["parameters"] == [
            {
                "required": False,
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/CommonsCliMavenOptions.java

                return Optional.of(Boolean.TRUE);
            }
            return Optional.empty();
        }
    
        @Override
        public Optional<Boolean> updateSnapshots() {
            if (commandLine.hasOption(CLIManager.UPDATE_SNAPSHOTS)) {
                return Optional.of(Boolean.TRUE);
            }
            return Optional.empty();
        }
    
        @Override
        public Optional<List<String>> activatedProfiles() {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Sep 25 17:39:57 UTC 2025
    - 14.8K bytes
    - Viewed (0)
  5. tests/test_request_params/test_body/test_optional_list.py

    ):
        return {"p": p}
    
    
    class BodyModelOptionalListStr(BaseModel):
        p: Optional[list[str]] = None
    
    
    @app.post("/model-optional-list-str", operation_id="model_optional_list_str")
    async def read_model_optional_list_str(p: BodyModelOptionalListStr):
        return {"p": p.p}
    
    
    @pytest.mark.parametrize(
        "path",
        ["/optional-list-str", "/model-optional-list-str"],
    )
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/gcs/GcsClient.java

     * <p>This client requires the following initialization parameters:
     * <ul>
     *   <li>projectId - The Google Cloud project ID</li>
     *   <li>endpoint - Custom endpoint URL (optional, for testing with fake-gcs-server)</li>
     *   <li>credentialsFile - Path to service account JSON file (optional)</li>
     *   <li>connectTimeout - Connection timeout in milliseconds (default: 10000)</li>
     *   <li>writeTimeout - Write timeout in milliseconds (default: 10000)</li>
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  7. tests/test_request_params/test_form/test_optional_list.py

    ):
        return {"p": p}
    
    
    class FormModelOptionalListStr(BaseModel):
        p: Optional[list[str]] = None
    
    
    @app.post("/model-optional-list-str", operation_id="model_optional_list_str")
    async def read_model_optional_list_str(p: Annotated[FormModelOptionalListStr, Form()]):
        return {"p": p.p}
    
    
    @pytest.mark.parametrize(
        "path",
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  8. tests/test_request_params/test_file/test_optional_list.py

    
    @app.post("/optional-list-uploadfile")
    async def read_optional_list_uploadfile(
        p: Annotated[Optional[list[UploadFile]], File()] = None,
    ):
        return {"file_size": [file.size for file in p] if p else None}
    
    
    @pytest.mark.parametrize(
        "path",
        [
            "/optional-list-bytes",
            "/optional-list-uploadfile",
        ],
    )
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  9. internal/config/notify/help.go

    			Optional:    true,
    			Type:        "string",
    			Sensitive:   true,
    			Secret:      true,
    		},
    		config.HelpKV{
    			Key:         target.WebhookQueueDir,
    			Description: queueDirComment,
    			Optional:    true,
    			Type:        "path",
    		},
    		config.HelpKV{
    			Key:         target.WebhookQueueLimit,
    			Description: queueLimitComment,
    			Optional:    true,
    			Type:        "number",
    		},
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/LayeredMavenOptions.java

            return returnFirstPresentOrEmpty(MavenOptions::threads);
        }
    
        @Override
        public Optional<String> builder() {
            return returnFirstPresentOrEmpty(MavenOptions::builder);
        }
    
        @Override
        public Optional<Boolean> noTransferProgress() {
            return returnFirstPresentOrEmpty(MavenOptions::noTransferProgress);
        }
    
        @Override
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jun 11 13:14:09 UTC 2025
    - 5.4K bytes
    - Viewed (0)
Back to top