Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 301 - 310 of 945 for optionnel (0.07 seconds)

  1. docs/zh/docs/tutorial/query-params.md

    本例中,查询参数 `q` 是可选的,默认值为 `None`。
    
    /// check | 检查
    
    注意,**FastAPI** 可以识别出 `item_id` 是路径参数,`q` 不是路径参数,而是查询参数。
    
    ///
    
    /// note | 笔记
    
    因为默认值为 `= None`,FastAPI 把 `q` 识别为可选参数。
    
    FastAPI 不使用 `Optional[str]` 中的 `Optional`(只使用 `str`),但 `Optional[str]` 可以帮助编辑器发现代码中的错误。
    
    ///
    
    ## 查询参数类型转换
    
    参数还可以声明为 `bool` 类型,FastAPI 会自动转换参数类型:
    
    
    {* ../../docs_src/query_params/tutorial003_py310.py hl[7] *}
    
    本例中,访问:
    
    ```
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 18 02:25:44 GMT 2024
    - 4.3K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/base/MoreObjects.java

       * Predicates.notNull())}, static importing as necessary.
       *
       * <p><b>Note:</b> if {@code first} is represented as an {@link Optional}, this can be
       * accomplished with {@link Optional#or(Object) first.or(second)}. That approach also allows for
       * lazy evaluation of the fallback instance, using {@link Optional#or(Supplier)
       * first.or(supplier)}.
       *
       * <p><b>Java 9 users:</b> use {@code java.util.Objects.requireNonNullElse(first, second)}
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 16.1K bytes
    - Click Count (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/IteratorFeature.java

       * implementations.
       */
      SUPPORTS_SET;
    
      /**
       * A set containing none of the optional features of the {@link Iterator} or {@link ListIterator}
       * interfaces.
       */
      public static final Set<IteratorFeature> UNMODIFIABLE = emptySet();
    
      /**
       * A set containing all of the optional features of the {@link Iterator} and {@link ListIterator}
       * interfaces.
       */
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 03 18:22:43 GMT 2023
    - 1.9K bytes
    - Click Count (0)
  4. impl/maven-core/src/test/java/org/apache/maven/graph/DefaultGraphBuilderTest.java

                            .nonRecursive()
                            .expectResult(MODULE_C),
                    scenario("Selected optional project")
                            .activeOptionalProjects(MODULE_B)
                            .expectResult(MODULE_B),
                    scenario("Selected missing optional project")
                            .activeOptionalProjects("non-existing-module")
                            .expectResult(
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Dec 09 20:39:03 GMT 2025
    - 28K bytes
    - Click Count (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/Project.java

         * @see org.apache.maven.api.services.ArtifactManager#getPath(Artifact)
         */
        @Nonnull
        default Optional<ProducedArtifact> getMainArtifact() {
            List<ProducedArtifact> artifacts = getArtifacts();
            return artifacts.size() == 2 ? Optional.of(artifacts.get(1)) : Optional.empty();
        }
    
        /**
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Nov 07 13:11:07 GMT 2025
    - 15.3K bytes
    - Click Count (0)
  6. cmd/config-current.go

    			Key:         config.SubnetSubSys,
    			Type:        "string",
    			Description: "register Enterprise license for the cluster",
    			Optional:    true,
    		},
    		config.HelpKV{
    			Key:         config.CallhomeSubSys,
    			Type:        "string",
    			Description: "enable callhome to MinIO SUBNET",
    			Optional:    true,
    		},
    		config.HelpKV{
    			Key:         config.DriveSubSys,
    			Description: "enable drive specific settings",
    		},
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 28.5K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/webauth/AdminWebauthAction.java

    import org.codelibs.fess.opensearch.config.exentity.WebConfig;
    import org.codelibs.fess.util.ComponentUtil;
    import org.codelibs.fess.util.RenderDataUtil;
    import org.dbflute.optional.OptionalEntity;
    import org.dbflute.optional.OptionalThing;
    import org.lastaflute.web.Execute;
    import org.lastaflute.web.response.HtmlResponse;
    import org.lastaflute.web.response.render.RenderData;
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Nov 20 13:56:35 GMT 2025
    - 19.7K bytes
    - Click Count (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/MavenInvoker.java

                            }
                        }
                        boolean optional = false;
                        if (!selector.isEmpty() && selector.charAt(0) == '?') {
                            optional = true;
                            selector = selector.substring(1);
                        }
                        projectActivation.addProjectActivation(selector, active, optional);
                    }
                }
            }
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Sep 11 17:20:46 GMT 2025
    - 28.2K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/keymatch/AdminKeymatchAction.java

    import org.codelibs.fess.opensearch.config.exentity.KeyMatch;
    import org.codelibs.fess.util.ComponentUtil;
    import org.codelibs.fess.util.RenderDataUtil;
    import org.dbflute.optional.OptionalEntity;
    import org.dbflute.optional.OptionalThing;
    import org.lastaflute.web.Execute;
    import org.lastaflute.web.response.HtmlResponse;
    import org.lastaflute.web.response.render.RenderData;
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Nov 20 13:56:35 GMT 2025
    - 16.2K bytes
    - Click Count (0)
  10. src/main/java/jcifs/internal/smb1/net/SmbShareInfo.java

        /**
         * The network name of the share.
         */
        protected String netName;
        /**
         * The type of the share (e.g., disk, printer, IPC).
         */
        protected int type;
        /**
         * The optional comment or description for the share.
         */
        protected String remark;
    
        /**
         * Default constructor for SmbShareInfo.
         */
        public SmbShareInfo() {
        }
    
        /**
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3.5K bytes
    - Click Count (0)
Back to Top