Search Options

Results per page
Sort
Preferred Languages
Advance

Results 281 - 290 of 1,733 for Defaults (0.17 sec)

  1. tests/test_tutorial/test_configure_swagger_ui/test_tutorial003.py

            '"dom_id": "#swagger-ui"' in response.text
        ), "default configs should be preserved"
        assert "presets: [" in response.text, "default configs should be preserved"
        assert (
            "SwaggerUIBundle.presets.apis," in response.text
        ), "default configs should be preserved"
        assert (
            "SwaggerUIBundle.SwaggerUIStandalonePreset" in response.text
        ), "default configs should be preserved"
        assert (
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Aug 19 19:54:04 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  2. fastapi/param_functions.py

    
    def Query(  # noqa: N802
        default: Annotated[
            Any,
            Doc(
                """
                Default value if the parameter field is not set.
                """
            ),
        ] = Undefined,
        *,
        default_factory: Annotated[
            Union[Callable[[], Any], None],
            Doc(
                """
                A callable to generate the default value.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 23 18:30:18 UTC 2024
    - 62.5K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/XmlFactory.java

    public interface XmlFactory<T> extends Service {
    
        @Nonnull
        default T read(@Nonnull Path path) throws XmlReaderException {
            return read(path, true);
        }
    
        @Nonnull
        default T read(@Nonnull Path path, boolean strict) throws XmlReaderException {
            return read(XmlReaderRequest.builder().path(path).strict(strict).build());
        }
    
        @Nonnull
        default T read(@Nonnull InputStream input) throws XmlReaderException {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Nov 17 15:52:15 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  4. api/maven-api-meta/src/main/java/org/apache/maven/api/annotations/Config.java

    @Experimental
    @Documented
    @Retention(RetentionPolicy.CLASS)
    @Target(ElementType.FIELD)
    public @interface Config {
    
        Source source() default Source.USER_PROPERTIES;
    
        String type() default "java.lang.String";
    
        String defaultValue() default "";
    
        boolean readOnly() default false;
    
        enum Source {
            USER_PROPERTIES,
            MODEL
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Aug 22 14:47:43 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/Lifecycle.java

        interface PhasePointer extends Pointer {
            default Type type() {
                return Type.PROJECT;
            }
        }
    
        interface DependenciesPointer extends Pointer {
            String scope(); // default: all
    
            default Type type() {
                return Type.DEPENDENCIES;
            }
        }
    
        interface ChildrenPointer extends Pointer {
            default Type type() {
                return Type.CHILDREN;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Sep 24 07:54:24 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/ntlmssp/Type1Message.java

        }
    
        /**
         * Returns the default flags for a generic Type-1 message in the
         * current environment.
         * 
         * @return An <code>int</code> containing the default flags.
         */
        public static int getDefaultFlags() {
            return DEFAULT_FLAGS;
        }
    
        /**
         * Returns the default domain from the current environment.
         *
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 8K bytes
    - Viewed (0)
  7. 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()
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Dec 20 18:50:00 UTC 2020
    - 2.4K bytes
    - Viewed (0)
  8. tests/test_datastructures.py

    
    def test_default_placeholder_equals():
        placeholder_1 = Default("a")
        placeholder_2 = Default("a")
        assert placeholder_1 == placeholder_2
        assert placeholder_1.value == placeholder_2.value
    
    
    def test_default_placeholder_bool():
        placeholder_a = Default("a")
        placeholder_b = Default("")
        assert placeholder_a
        assert not placeholder_b
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 18 12:36:40 UTC 2023
    - 2K bytes
    - Viewed (0)
  9. 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
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Nov 17 15:52:15 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/graph/ElementOrderTest.java

        assertThat(network.edges()).containsExactly("i", "e", "p").inOrder();
        assertThat(network.nodeOrder()).isEqualTo(ElementOrder.insertion()); // default
      }
    
      // The default ordering is INSERTION unless otherwise specified.
      @Test
      public void edgeOrder_default() {
        MutableNetwork<Integer, String> network = NetworkBuilder.directed().build();
    
        addEdges(network);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 8.1K bytes
    - Viewed (0)
Back to top