Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 1,717 for default (0.12 seconds)

  1. tests/test_datastructures.py

    from fastapi import FastAPI, UploadFile
    from fastapi.datastructures import Default
    from fastapi.testclient import TestClient
    
    
    def test_upload_file_invalid_pydantic_v2():
        with pytest.raises(ValueError):
            UploadFile._validate("not a Starlette UploadFile", {})
    
    
    def test_default_placeholder_equals():
        placeholder_1 = Default("a")
        placeholder_2 = Default("a")
        assert placeholder_1 == placeholder_2
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  2. internal/config/api/api.go

    	case "strict", "optimal", "reduced", "disk", "auto":
    	default:
    		return cfg, fmt.Errorf("invalid value %v for list_quorum: will default to 'strict'", listQuorum)
    	}
    	cfg.ListQuorum = listQuorum
    
    	replicationPriority := env.Get(EnvAPIReplicationPriority, kvs.GetWithDefault(apiReplicationPriority, DefaultKVS))
    	switch replicationPriority {
    	case "slow", "fast", "auto":
    	default:
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 11.5K bytes
    - Click Count (1)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/Prompter.java

         */
        @Nonnull
        default String prompt(@Nullable String message) throws PrompterException {
            return prompt(message, null, null);
        }
    
        /**
         * Prompts the user for a string using a default value.
         *
         * @param message the message to display
         * @param defaultReply the default reply value
         * @return the string entered by the user
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Nov 17 15:52:15 GMT 2023
    - 3.5K bytes
    - Click Count (0)
  4. fastapi/applications.py

                    have their default values. This is different from
                    `response_model_exclude_defaults` in that if the fields are set,
                    they will be included in the response, even if the value is the same
                    as the default.
    
                    When `True`, default values are omitted from the response.
    
                    Read more about it in the
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 176.3K bytes
    - Click Count (0)
  5. tests/test_local_docs.py

    def test_strings_in_generated_swagger():
        sig = inspect.signature(get_swagger_ui_html)
        swagger_js_url = sig.parameters.get("swagger_js_url").default  # type: ignore
        swagger_css_url = sig.parameters.get("swagger_css_url").default  # type: ignore
        swagger_favicon_url = sig.parameters.get("swagger_favicon_url").default  # type: ignore
        html = get_swagger_ui_html(openapi_url="/docs", title="title")
        body_content = html.body.decode()
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Dec 20 18:50:00 GMT 2020
    - 2.4K bytes
    - Click Count (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelProcessor.java

     * This is only necessary for default components using @Typed that want to support overriding.
     *
     * As a non-default component this now gets a negative priority relative to other implementations
     * of the same interface. Since we want to allow overriding this doesn't matter in this case.
     * (if it did we could add @Priority of 0 to match the priority given to default components.)
     *
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  7. api/maven-api-settings/src/main/mdo/settings.mdo

        local settings, like proxy information.</p>
        <p>The default location for the settings file is {@code ~/.m2/settings.xml}.</p>
        ]]>
      </description>
      <defaults>
        <default>
          <key>package</key>
          <value>org.apache.maven.settings</value>
        </default>
      </defaults>
      <classes>
        <class java.clone="deep">
          <name>TrackableBase</name>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sun May 18 09:15:56 GMT 2025
    - 33.8K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/collect/ForwardingListIterator.java

     *
     * <p><b>{@code default} method warning:</b> This class forwards calls to <i>only some</i> {@code
     * default} methods. Specifically, it forwards calls only for methods that existed <a
     * href="https://docs.oracle.com/javase/7/docs/api/java/util/ListIterator.html">before {@code
     * default} methods were introduced</a>. For newer methods, like {@code forEachRemaining}, it
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 2.5K bytes
    - Click Count (0)
  9. guava/src/com/google/common/collect/ForwardingConcurrentMap.java

     *
     * <p><b>{@code default} method warning:</b> This class forwards calls to <i>only some</i> {@code
     * default} methods. Specifically, it forwards calls only for methods that existed <a
     * href="https://docs.oracle.com/javase/7/docs/api/java/util/concurrent/ConcurrentMap.html">before
     * {@code default} methods were introduced</a>. For newer methods, like {@code forEach}, it inherits
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Feb 18 16:58:16 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  10. api/maven-api-model/src/main/mdo/maven.mdo

        </ul>
        ]]>
      </description>
      <defaults>
        <default>
          <key>package</key>
          <value>org.apache.maven.model</value>
        </default>
      </defaults>
      <classes>
        <class rootElement="true" xml.tagName="project">
          <name>Model</name>
          <superClass>ModelBase</superClass>
          <description>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Nov 26 03:07:35 GMT 2025
    - 133.3K bytes
    - Click Count (0)
Back to Top