Search Options

Results per page
Sort
Preferred Languages
Advance

Results 271 - 280 of 1,051 for optional (1.42 sec)

  1. fastapi/openapi/docs.py

            ),
        ] = "https://fastapi.tiangolo.com/img/favicon.png",
        oauth2_redirect_url: Annotated[
            Optional[str],
            Doc(
                """
                The OAuth2 redirect URL, it is normally automatically handled by FastAPI.
                """
            ),
        ] = None,
        init_oauth: Annotated[
            Optional[dict[str, Any]],
            Doc(
                """
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/validation/DefaultModelValidator.java

                    }
                }
            };
            Optional<Activation> root = Optional.of(activation);
            stk.push(new ActivationFrame("activation", root));
            root.map(Activation::getFile).ifPresent(fa -> {
                stk.push(new ActivationFrame("file", Optional.of(fa)));
                stk.push(new ActivationFrame("exists", Optional.empty()));
                validator.accept(fa.getExists());
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 03 15:06:05 UTC 2025
    - 66.8K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/ReflectionValueExtractor.java

                    default:
                        // could not parse expression
                        return null;
                }
            }
    
            if (value instanceof Optional<?> optional) {
                value = optional.orElse(null);
            }
            return value;
        }
    
        private static Object getMappedValue(
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  4. docs/zh/docs/tutorial/body.md

    - **路径**中声明了相同参数的参数,是路径参数
    - 类型是(`int`、`float`、`str`、`bool` 等)**单类型**的参数,是**查询**参数
    - 类型是 **Pydantic 模型**的参数,是**请求体**
    
    /// note | 笔记
    
    因为默认值是 `None`, FastAPI 会把 `q` 当作可选参数。
    
    FastAPI 不使用 `Optional[str]` 中的 `Optional`, 但 `Optional` 可以让编辑器提供更好的支持,并检测错误。
    
    ///
    
    ## 不使用 Pydantic
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  5. api/maven-api-xml/src/main/java/org/apache/maven/api/xml/XmlService.java

        }
    
        /**
         * Implementation method for reading an XML node from an input stream.
         *
         * @param input the input stream to read from
         * @param locationBuilder optional builder for creating input location objects
         * @return the parsed XML node
         * @throws XMLStreamException if there is an error parsing the XML
         */
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Apr 03 13:33:59 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/rank/fusion/RankFusionSearcher.java

    import java.util.Locale;
    
    import org.codelibs.core.lang.StringUtil;
    import org.codelibs.fess.entity.SearchRequestParams;
    import org.codelibs.fess.mylasta.action.FessUserBean;
    import org.dbflute.optional.OptionalThing;
    
    /**
     * Abstract base class for rank fusion searchers in the Fess search system.
     * Rank fusion searchers are responsible for executing search queries and
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectManager.java

         *
         * @param project the potentially forked project
         * @return an Optional containing the original project if the input is a forked project,
         *         or an empty Optional if the input is already the original project
         * @throws IllegalArgumentException if the project is null
         */
        @Nonnull
        Optional<Project> getExecutionProject(@Nonnull Project project);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Jan 30 23:29:13 UTC 2025
    - 12K bytes
    - Viewed (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/ContainerCapsule.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.cling.invoker;
    
    import java.util.Optional;
    
    import org.apache.maven.api.annotations.Nonnull;
    import org.apache.maven.api.services.Lookup;
    
    /**
     * Container capsule.
     */
    public interface ContainerCapsule extends AutoCloseable {
        /**
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 31 20:56:58 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  9. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/ParserRequest.java

                }
    
                @Override
                public <T> Optional<T> lookupOptional(Class<T> type) {
                    return Optional.empty();
                }
    
                @Override
                public <T> Optional<T> lookupOptional(Class<T> type, String name) {
                    return Optional.empty();
                }
    
                @Override
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Jun 07 06:22:47 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

          return new Chopper() {
            @Override
            Optional<String> chop(String str) {
              return i.chop(str).or(you.chop(str));
            }
          };
        }
    
        abstract Optional<String> chop(String str);
    
        static Chopper suffix(String suffix) {
          return new Chopper() {
            @Override
            Optional<String> chop(String str) {
              if (str.endsWith(suffix)) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 17.9K bytes
    - Viewed (0)
Back to top