Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 924 for optimal (0.08 sec)

  1. tests/test_query.py

                    }
                ]
            }
        )
    
    
    def test_query_optional():
        response = client.get("/query/optional")
        assert response.status_code == 200
        assert response.json() == "foo bar"
    
    
    def test_query_optional_query_baz():
        response = client.get("/query/optional?query=baz")
        assert response.status_code == 200
        assert response.json() == "foo bar baz"
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 21:56:59 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectBuilder.java

                    @Nonnull
                    @Override
                    public Optional<Path> getPomFile() {
                        return Optional.ofNullable(res.getPomFile()).map(File::toPath);
                    }
    
                    @Nonnull
                    @Override
                    public Optional<Project> getProject() {
                        return Optional.ofNullable(session.getProject(res.getProject()));
                    }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8K bytes
    - Viewed (0)
  3. internal/config/batch/help.go

    			Optional:    true,
    			Type:        "duration",
    		},
    		config.HelpKV{
    			Key:         KeyRotationWorkersWait,
    			Description: `maximum sleep duration between objects to slow down batch keyrotation operation` + defaultHelpPostfix(KeyRotationWorkersWait),
    			Optional:    true,
    			Type:        "duration",
    		},
    		config.HelpKV{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Dec 02 10:51:33 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  4. internal/config/policy/plugin/help.go

    			Optional:    true,
    			Type:        "string",
    			Sensitive:   true,
    			Secret:      true,
    		},
    		config.HelpKV{
    			Key:         EnableHTTP2,
    			Description: "Enable experimental HTTP2 support to connect to plugin service" + defaultHelpPostfix(EnableHTTP2),
    			Optional:    true,
    			Type:        "bool",
    		},
    		config.HelpKV{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 23 14:45:27 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/Event.java

         *
         * @return the current project or {@code empty()} if not applicable
         */
        @Nonnull
        Optional<Project> getProject();
    
        /**
         * Gets the current mojo execution (if any).
         *
         * @return the current mojo execution or {@code empty()} if not applicable
         */
        @Nonnull
        Optional<MojoExecution> getMojoExecution();
    
        /**
         * Gets the exception that caused the event (if any).
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Mar 23 05:29:39 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/ConsolePasswordPrompt.java

            this.prompter = prompter;
        }
    
        @Override
        public String description() {
            return "Secure console password prompt";
        }
    
        @Override
        public Optional<String> configTemplate() {
            return Optional.empty();
        }
    
        @Override
        public String handle(String config) throws SecDispatcherException {
            if (NAME.equals(config)) {
                try {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  7. docs/pt/docs/python-types.md

    ```Python hl_lines="1 4"
    {!../../docs_src/python_types/tutorial009.py!}
    ```
    
    O uso de `Optional[str]` em vez de apenas `str` permitirΓ‘ que o editor o ajude a detectar erros, onde vocΓͺ pode estar assumindo que um valor Γ© sempre um `str`, quando na verdade tambΓ©m pode ser `None`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 15 12:32:27 UTC 2024
    - 18K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/artifact/factory/DefaultArtifactFactory.java

                VersionRange versionRange,
                String type,
                String classifier,
                String scope,
                boolean optional) {
            return createArtifact(groupId, artifactId, versionRange, type, classifier, scope, null, optional);
        }
    
        public Artifact createDependencyArtifact(
                String groupId,
                String artifactId,
                VersionRange versionRange,
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  9. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/tasks/ClasspathManifest.kt

            properties["runtime"] = runtime.get().joinToString(",")
            properties["projects"] = projects.get().joinToString(",")
            optionalProjects.get().takeIf { it.isNotEmpty() }?.let { optional ->
                properties["optional"] = optional.joinForProperties()
            }
        }
    
        private
        fun FileSystemLocation.toGradleModuleName(): String = asFile.name.run { substring(0, lastIndexOf('-')) }
    
        private
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Mar 28 20:26:58 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  10. docs/em/docs/python-types.md

    🐍 3️⃣.6️⃣ &amp; πŸ”› (βœ… 🐍 3️⃣.1️⃣0️⃣) πŸ‘† πŸ’ͺ πŸ“£ ⚫️ 🏭 &amp; βš™οΈ `Optional` βšͺ️➑️ `typing` πŸ•Ή.
    
    ```Python hl_lines="1  4"
    {!../../docs_src/python_types/tutorial009.py!}
    ```
    
    βš™οΈ `Optional[str]` ↩️ `str` πŸ”œ ➑️ πŸ‘¨β€πŸŽ¨ β„Ή πŸ‘† πŸ” ❌ πŸŒβ” πŸ‘† πŸ’ͺ πŸ€” πŸ‘ˆ πŸ’² πŸ•§ `str`, πŸ•β” ⚫️ πŸ’ͺ πŸ€™ `None` πŸ’β€β™‚οΈ.
    
    `Optional[Something]` πŸ€™ ⌨ `Union[Something, None]`, πŸ‘« πŸŒ“.
    
    πŸ‘‰ β›“ πŸ‘ˆ 🐍 3️⃣.1️⃣0️⃣, πŸ‘† πŸ’ͺ βš™οΈ `Something | None`:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 13.4K bytes
    - Viewed (0)
Back to top