Search Options

Results per page
Sort
Preferred Languages
Advance

Results 981 - 990 of 2,103 for _default (0.04 sec)

  1. docs/ja/docs/tutorial/query-params-str-validations.md

    パラメータのデフォルト値として使用し、パラメータ`max_length`を50に設定します:
    
    ```Python hl_lines="9"
    {!../../docs_src/query_params_str_validations/tutorial002.py!}
    ```
    
    デフォルト値`None`を`Query(default=None)`に置き換える必要があるので、`Query`の最初の引数はデフォルト値を定義するのと同じです。
    
    なので:
    
    ```Python
    q: Optional[str] = Query(default=None)
    ```
    
    ...を以下と同じようにパラメータをオプションにします:
    
    ```Python
    q: Optional[str] = None
    ```
    
    しかし、これはクエリパラメータとして明示的に宣言しています。
    
    /// info | "情報"
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  2. docs/bucket/replication/README.md

    ## Replica Modification sync
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jan 24 23:46:33 UTC 2023
    - 18.2K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/ExtensibleEnumRegistry.java

    import org.apache.maven.api.annotations.Nonnull;
    
    public interface ExtensibleEnumRegistry<T extends ExtensibleEnum> extends Service {
        @Nonnull
        Optional<T> lookup(@Nonnull String id);
    
        @Nonnull
        default T require(@Nonnull String id) {
            return lookup(id).orElseThrow(() -> new IllegalArgumentException("Unknown extensible enum value '" + id + "'"));
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Feb 28 23:54:53 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_response_model/test_tutorial003_05.py

                                "required": False,
                                "schema": {
                                    "title": "Teleport",
                                    "type": "boolean",
                                    "default": False,
                                },
                                "name": "teleport",
                                "in": "query",
                            }
                        ],
                        "responses": {
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  5. istioctl/pkg/kubeinject/google.go

    	creds, err := google.FindDefaultCredentials(ctx, "https://www.googleapis.com/auth/cloud-platform")
    	if err != nil {
    		return nil, fmt.Errorf("finding default GCP credentials: %w", err)
    	}
    	return &oauth2.Transport{
    		Base:   tr,
    		Source: creds.TokenSource,
    	}, nil
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Jun 15 15:02:17 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/container/CrawlerContainer.java

    /**
     * @author shinsuke
     *
     */
    public interface CrawlerContainer {
    
        <T> T getComponent(String name);
    
        boolean available();
    
        void destroy();
    
        default void initialize() {
            final StringBuilder buf = new StringBuilder(100);
            final String value = System.getProperty("java.protocol.handler.pkgs");
            if (StringUtil.isEmpty(value)) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  7. api/maven-api-di/src/main/java/org/apache/maven/api/di/Typed.java

    import static java.lang.annotation.RetentionPolicy.RUNTIME;
    
    @Target({FIELD, METHOD, TYPE})
    @Retention(RUNTIME)
    @Documented
    public @interface Typed {
        Class<?>[] value() default {};
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Jul 10 20:52:34 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  8. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/WagonMock.java

    /**
     * Mock of a Wagon for testing
     *
     */
    public class WagonMock extends FileWagon {
    
        /**
         * A field that can be configured in the Wagon
         *
         * @component.configuration default="configurableField"
         */
        private String configurableField = null;
    
        public void setConfigurableField(String configurableField) {
            this.configurableField = configurableField;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  9. compat/maven-toolchain-builder/src/test/resources/org/apache/maven/toolchain/merge/toolchains-jdks-extra.xml

    under the License.
    -->
    
    <toolchains>
      <toolchain>
         <type>jdk</type>
         <provides>
             <version>1.4</version>
             <vendor>sun</vendor>
             <!-- no id, so it's considered 'default' -->
         </provides>
         <configuration>
            <jdkHome>${env.JAVA_HOME}</jdkHome>
         </configuration>
      </toolchain>
      <toolchain>
         <type>jdk</type>
         <provides>
             <version>1.7</version>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  10. tests/test_tutorial/test_query_params_str_validations/test_tutorial012.py

                                "schema": {
                                    "title": "Q",
                                    "type": "array",
                                    "items": {"type": "string"},
                                    "default": ["foo", "bar"],
                                },
                                "name": "q",
                                "in": "query",
                            }
                        ],
                    }
                }
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 3.4K bytes
    - Viewed (0)
Back to top