Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,398 for settings (0.06 sec)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/services/SettingsBuilderResult.java

    import org.apache.maven.api.annotations.Nonnull;
    import org.apache.maven.api.settings.Settings;
    
    /**
     *
     * @since 4.0.0
     */
    @Experimental
    public interface SettingsBuilderResult {
    
        /**
         * Gets the assembled settings.
         *
         * @return the assembled settings, never {@code null}
         */
        @Nonnull
        Settings getEffectiveSettings();
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Feb 28 23:54:53 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/opensearch/extension/analysis/ReloadableStopFilterFactory.java

                final Settings settings) {
            super(indexSettings, name, settings);
    
            final String path = settings.get("stopwords_path");
            if (path != null) {
                stopwordPath = environment.configFile().resolve(path);
            } else {
                stopwordPath = null;
            }
    
            ignoreCase = settings.getAsBoolean("ignore_case", false);
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  3. docs_src/settings/tutorial001_pv1.py

    from pydantic import BaseSettings
    
    
    class Settings(BaseSettings):
        app_name: str = "Awesome API"
        admin_email: str
        items_per_user: int = 50
    
    
    settings = Settings()
    app = FastAPI()
    
    
    @app.get("/info")
    async def info():
        return {
            "app_name": settings.app_name,
            "admin_email": settings.admin_email,
            "items_per_user": settings.items_per_user,
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 410 bytes
    - Viewed (0)
  4. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/StringSettingsSource.java

         */
        public StringSettingsSource(CharSequence settings) {
            this(settings, null);
        }
    
        /**
         * Creates a new settings source backed by the specified string.
         *
         * @param settings The settings' string representation, may be empty or {@code null}.
         * @param location The location to report for this use, may be {@code null}.
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  5. 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 Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 24 20:26:06 UTC 2023
    - 462 bytes
    - Viewed (0)
  6. compat/maven-settings/src/main/java/org/apache/maven/settings/io/xpp3/SettingsXpp3Writer.java

        }
    
        /**
         * Method write.
         *
         * @param writer a writer object.
         * @param settings a settings object.
         * @throws IOException java.io.IOException if any.
         */
        public void write(Writer writer, Settings settings) throws IOException {
            try {
                delegate.write(writer, settings.getDelegate());
            } catch (XMLStreamException e) {
                throw new IOException(e);
            }
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequestPopulator.java

    import org.apache.maven.bridge.MavenRepositorySystem;
    import org.apache.maven.settings.Mirror;
    import org.apache.maven.settings.Proxy;
    import org.apache.maven.settings.Repository;
    import org.apache.maven.settings.Server;
    import org.apache.maven.settings.Settings;
    import org.apache.maven.settings.SettingsUtils;
    import org.apache.maven.toolchain.model.PersistedToolchains;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  8. tests/test_tutorial/test_settings/test_app02.py

    @needs_pydanticv2
    def test_settings(monkeypatch: MonkeyPatch):
        from docs_src.settings.app02 import main
    
        monkeypatch.setenv("ADMIN_EMAIL", "******@****.***")
        settings = main.get_settings()
        assert settings.app_name == "Awesome API"
        assert settings.items_per_user == 50
    
    
    @needs_pydanticv2
    def test_override_settings():
        from docs_src.settings.app02 import test_main
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 488 bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/suggest/normalizer/AnalyzerNormalizer.java

        protected final Client client;
        protected final AnalyzerSettings analyzerSettings;
        private final SuggestSettings settings;
    
        public AnalyzerNormalizer(final Client client, final SuggestSettings settings) {
            this.client = client;
            this.settings = settings;
            analyzerSettings = settings.analyzer();
        }
    
        @Override
        public String normalize(final String text, final String field, final String... langs) {
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/api/admin/user/ApiAdminUserAction.java

                            .total(pager.getAllRecordCount()).status(ApiResult.Status.OK).result());
        }
    
        // GET /api/admin/user/setting/{id}
        @Execute
        public JsonResponse<ApiResult> get$setting(final String id) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 5.8K bytes
    - Viewed (0)
Back to top