Search Options

Results per page
Sort
Preferred Languages
Advance

Results 571 - 580 of 2,120 for Default (0.06 sec)

  1. docs_src/query_params_str_validations/tutorial007_py310.py

    from fastapi import FastAPI, Query
    
    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(
        q: str | None = Query(default=None, title="Query string", min_length=3),
    ):
        results = {"items": [{"item_id": "Foo"}, {"item_id": "Bar"}]}
        if q:
            results.update({"q": q})
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Mar 26 16:56:53 UTC 2024
    - 304 bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/annotations/GwtCompatible.java

       *
       * @see <a href=
       *     "http://code.google.com/webtoolkit/doc/latest/DevGuideServerCommunication.html#DevGuideSerializableTypes">
       *     Documentation about GWT serialization</a>
       */
      boolean serializable() default false;
    
      /**
       * When {@code true}, the annotated type is emulated in GWT. The emulated source (also known as
       * super-source) is different from the implementation used by the JVM.
       *
       * @see <a href=
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Dec 16 19:54:45 UTC 2020
    - 2.9K bytes
    - Viewed (0)
  3. istioctl/pkg/writer/envoy/configdump/testdata/secret/istio/output

    RESOURCE NAME     TYPE           STATUS     VALID CERT     SERIAL NUMBER                        NOT AFTER                NOT BEFORE
    default           Cert Chain     ACTIVE     false          6fbee254c22900615cb1f74e3d2f1713     2023-05-16T01:32:52Z     2023-05-15T01:30:52Z
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Oct 28 19:52:53 UTC 2024
    - 416 bytes
    - Viewed (0)
  4. src/main/java/jcifs/CIFSContext.java

         * @return an URL handler using this context
         */
        URLStreamHandler getUrlHandler ();
    
    
        /**
         * @return whether default credentials are available
         */
        boolean hasDefaultCredentials ();
    
    
        /**
         * @return a child context using the configured default credentials
         */
        CIFSContext withDefaultCredentials ();
    
    
        /**
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.7K bytes
    - Viewed (0)
  5. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/ArtifactDescriptorUtils.java

        public static RepositoryPolicy toRepositoryPolicy(org.apache.maven.model.RepositoryPolicy policy) {
            boolean enabled = true;
            String checksums = toRepositoryChecksumPolicy(RepositoryPolicy.CHECKSUM_POLICY_WARN); // the default
            String updates = RepositoryPolicy.UPDATE_POLICY_DAILY;
    
            if (policy != null) {
                enabled = policy.isEnabled();
                if (policy.getUpdatePolicy() != null) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  6. CHANGELOG/CHANGELOG-1.8.md

     if both are present in a container spec.
    
     - The default Bootstrap Token created with `kubeadm init` v1.8 expires
     and is deleted after 24 hours by default to limit the exposure of the
     valuable credential. You can create a new Bootstrap Token with
     `kubeadm token create` or make the default token permanently valid by specifying
     `--token-ttl 0` to `kubeadm init`. The default token can later be deleted with
     `kubeadm token delete`.
    
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Tue Feb 20 15:45:02 UTC 2024
    - 312.2K bytes
    - Viewed (0)
  7. cmd/object-api-options.go

    		if _, err := uuid.Parse(vid); err != nil {
    			return opts, InvalidVersionID{
    				Bucket:    bucket,
    				Object:    object,
    				VersionID: vid,
    			}
    		}
    	}
    
    	// default case of passing encryption headers to backend
    	opts, err = getDefaultOpts(r.Header, false, nil)
    	if err != nil {
    		return opts, err
    	}
    	opts.PartNumber = partNumber
    	opts.VersionID = vid
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 21 21:13:59 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  8. docs/zh/docs/tutorial/query-params-str-validations.md

    ```
    
    由于我们必须用 `Query(default=None)` 替换默认值 `None`,`Query` 的第一个参数同样也是用于定义默认值。
    
    所以:
    
    ```Python
    q: Union[str, None] = Query(default=None)
    ```
    
    ...使得参数可选,等同于:
    
    ```Python
    q: str = None
    ```
    
    但是 `Query` 显式地将其声明为查询参数。
    
    然后,我们可以将更多的参数传递给 `Query`。在本例中,适用于字符串的 `max_length` 参数:
    
    ```Python
    q: Union[str, None] = Query(default=None, max_length=50)
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactInstaller.java

         *             installation has failed.
         * @throws IllegalArgumentException in case of parameter {@code session} is {@code null} or
         *          {@code artifact} is {@code null}.
         */
        default void install(Session session, ProducedArtifact artifact) {
            install(session, Collections.singletonList(artifact));
        }
    
        /**
         * @param session the repository session
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 16:43:07 UTC 2024
    - 3K bytes
    - Viewed (0)
  10. api/maven-api-toolchain/src/main/mdo/toolchains.mdo

        @see <a href="/guides/mini/guide-using-toolchains.html">Guide to Using Toolchains</a>
        ]]></description>
    
      <defaults>
        <default>
          <key>package</key>
          <value>org.apache.maven.toolchain.model</value>
        </default>
      </defaults>
    
      <classes>
        <class java.clone="deep">
          <name>TrackableBase</name>
          <version>1.1.0+</version>
          <description>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Aug 22 14:47:43 UTC 2024
    - 9.7K bytes
    - Viewed (0)
Back to top