Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 746 for DEFAULT (0.14 sec)

  1. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

        default void setSearchLog(final boolean value) {
            setSystemPropertyAsBoolean(Constants.SEARCH_LOG_PROPERTY, value);
        }
    
        default boolean isSearchLog() {
            return getSystemPropertyAsBoolean(Constants.SEARCH_LOG_PROPERTY, true);
        }
    
        default void setUserInfo(final boolean value) {
            setSystemPropertyAsBoolean(Constants.USER_INFO_PROPERTY, value);
        }
    
        default boolean isUserInfo() {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 13 02:21:17 UTC 2025
    - 88.2K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/query-params-str-validations.md

    ```
    
    This will validate the data, show a clear error when the data is not valid, and document the parameter in the OpenAPI schema *path operation*.
    
    ### `Query` as the default value or in `Annotated` { #query-as-the-default-value-or-in-annotated }
    
    Keep in mind that when using `Query` inside of `Annotated` you cannot use the `default` parameter for `Query`.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_configure_swagger_ui/test_tutorial002.py

        assert '"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"
        )
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  4. fastapi/params.py

            include_in_schema: bool = True,
            json_schema_extra: Union[dict[str, Any], None] = None,
            **extra: Any,
        ):
            assert default is ..., "Path parameters cannot have a default value"
            self.in_ = self.in_
            super().__init__(
                default=default,
                default_factory=default_factory,
                annotation=annotation,
                alias=alias,
                alias_priority=alias_priority,
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 26.3K bytes
    - Viewed (0)
  5. fastapi/routing.py

                Doc(
                    """
                    The default response class to be used.
    
                    Read more in the
                    [FastAPI docs for Custom Response - HTML, Stream, File, others](https://fastapi.tiangolo.com/advanced/custom-response/#default-response-class).
                    """
                ),
            ] = Default(JSONResponse),
            responses: Annotated[
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 174.6K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/path-params-numeric-validations.md

    Python will complain if you put a value with a "default" before a value that doesn't have a "default".
    
    But you can re-order them, and have the value without a default (the query parameter `q`) first.
    
    It doesn't matter for **FastAPI**. It will detect the parameters by their names, types and default declarations (`Query`, `Path`, etc), it doesn't care about the order.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  7. tests/test_invalid_sequence_param.py

            @app.get("/items/")
            def read_items(q: list[Item] = Query(default=None)):
                pass  # pragma: no cover
    
    
    def test_invalid_tuple():
        with pytest.raises(AssertionError):
            app = FastAPI()
    
            class Item(BaseModel):
                title: str
    
            @app.get("/items/")
            def read_items(q: tuple[Item, Item] = Query(default=None)):
                pass  # pragma: no cover
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  8. 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 Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 63K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/suggest/settings/BadWordSettings.java

    import org.opensearch.transport.client.Client;
    
    /**
     * The BadWordSettings class manages the settings related to bad words.
     * It allows adding, deleting, and retrieving bad words from the settings.
     * It also supports loading default bad words from a file.
     */
    public class BadWordSettings {
        private static final Logger logger = LogManager.getLogger(BadWordSettings.class);
    
        /** Key for bad word settings. */
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Sun Nov 23 03:02:17 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  10. tests/test_tutorial/test_configure_swagger_ui/test_tutorial001.py

        assert '"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"
        )
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 1.4K bytes
    - Viewed (0)
Back to top