Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 1,420 for settings (0.07 sec)

  1. docs_src/settings/app03_py39/main.py

    from . import config
    
    app = FastAPI()
    
    
    @lru_cache
    def get_settings():
        return config.Settings()
    
    
    @app.get("/info")
    async def info(settings: config.Settings = Depends(get_settings)):
        return {
            "app_name": settings.app_name,
            "admin_email": settings.admin_email,
            "items_per_user": settings.items_per_user,
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 412 bytes
    - Viewed (0)
  2. docs_src/settings/app03_an_py39/main.py

    from . import config
    
    app = FastAPI()
    
    
    @lru_cache
    def get_settings():
        return config.Settings()
    
    
    @app.get("/info")
    async def info(settings: Annotated[config.Settings, Depends(get_settings)]):
        return {
            "app_name": settings.app_name,
            "admin_email": settings.admin_email,
            "items_per_user": settings.items_per_user,
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 10 08:55:32 UTC 2025
    - 451 bytes
    - Viewed (0)
  3. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/validation/SettingsValidator.java

        /**
         * Validate the specified settings.
         *
         * @param settings The settings to validate, must not be {@code null}.
         * @param problems The container used to collect problems that were encountered, must not be {@code null}.
         */
        void validate(Settings settings, SettingsProblemCollector problems);
    
        /**
         * Validate the specified settings.
         *
         * @param settings The settings to validate, must not be {@code null}.
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 2K bytes
    - Viewed (0)
  4. docs/en/docs/how-to/conditional-openapi.md

    ## Conditional OpenAPI from settings and env vars { #conditional-openapi-from-settings-and-env-vars }
    
    You can easily use the same Pydantic settings to configure your generated OpenAPI and the docs UIs.
    
    For example:
    
    {* ../../docs_src/conditional_openapi/tutorial001_py39.py hl[6,11] *}
    
    Here we declare the setting `openapi_url` with the same default of `"/openapi.json"`.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/suggest/settings/AnalyzerSettings.java

        /**
         * Updates the analyzer settings.
         * @param settings The settings to update.
         */
        public void updateAnalyzer(final Map<String, Object> settings) {
            client.admin()
                    .indices()
                    .prepareCreate(analyzerSettingsIndexName)
                    .setSettings(settings)
                    .execute()
                    .actionGet(this.settings.getIndicesTimeout());
        }
    
        /**
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 26.5K bytes
    - Viewed (0)
  6. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/DefaultSettingsBuildingResult.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.settings.building;
    
    import java.util.ArrayList;
    import java.util.List;
    
    import org.apache.maven.settings.Settings;
    
    /**
     * Collects the output of the settings builder.
     *
     * @deprecated since 4.0.0, use {@link org.apache.maven.api.services.SettingsBuilder} instead
     */
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  7. impl/maven-core/src/test/java/org/apache/maven/settings/SettingsUtilsTest.java

    import org.apache.maven.api.settings.Repository;
    import org.apache.maven.api.settings.Settings;
    import org.apache.maven.impl.SettingsUtilsV4;
    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    
    class SettingsUtilsTest {
    
        @Test
        void testShouldAppendRecessivePluginGroupIds() {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 24 17:29:44 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/api/admin/webconfig/ApiAdminWebconfigAction.java

        /**
         * Retrieves web configuration settings with pagination.
         *
         * @param body the search parameters for filtering and pagination
         * @return JSON response containing web configuration settings list
         */
        // GET /api/admin/webconfig/settings
        // PUT /api/admin/webconfig/settings
        @Execute
        public JsonResponse<ApiResult> settings(final SearchBody body) {
            validateApi(body, messages -> {});
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  9. compat/maven-settings/src/site/apt/index.apt

     -----
     Vincent Siveton
     -----
     2006-11-04
     -----
    
    Maven Settings Model
    
     This is the model for Maven settings in <<<org.apache.maven.settings>>> package,
     delegating content to {{{../../api/maven-api-settings/index.html}Maven 4 API immutable settings}}. All the effective model
     building logic from multiple settings files is done in {{{../maven-settings-builder/}Maven Settings Builder}}.
    
     The following are generated from this model:
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sun Nov 16 18:16:44 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/api/ApiResult.java

             */
            protected long total = 0;
    
            /**
             * Sets the list of configuration settings and updates the total count.
             * @param settings The list of configuration settings.
             * @return The ApiConfigsResponse instance.
             */
            public ApiConfigsResponse<T> settings(final List<T> settings) {
                this.settings = settings;
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 24.9K bytes
    - Viewed (0)
Back to top