Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 914 for _settings (0.15 sec)

  1. docs_src/settings/app02_an_py39/main.py

    from fastapi import Depends, FastAPI
    
    from .config import Settings
    
    app = FastAPI()
    
    
    @lru_cache
    def get_settings():
        return Settings()
    
    
    @app.get("/info")
    async def info(settings: Annotated[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
    - 445 bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/SettingsBuilder.java

    import org.apache.maven.api.settings.Settings;
    
    /**
     * Builds the effective settings from a user settings file and/or a installation settings file.
     *
     * @since 4.0.0
     */
    @Experimental
    public interface SettingsBuilder extends Service {
    
        /**
         * Builds the effective settings of the specified settings files.
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Aug 22 14:47:43 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  3. compat/maven-settings-builder/src/test/java/org/apache/maven/settings/validation/DefaultSettingsValidatorTest.java

     * under the License.
     */
    package org.apache.maven.settings.validation;
    
    import java.util.ArrayList;
    import java.util.List;
    
    import org.apache.maven.internal.impl.DefaultSettingsBuilder;
    import org.apache.maven.settings.Mirror;
    import org.apache.maven.settings.Profile;
    import org.apache.maven.settings.Proxy;
    import org.apache.maven.settings.Repository;
    import org.apache.maven.settings.Server;
    import org.apache.maven.settings.Settings;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/opensearch/extension/analysis/NGramSynonymTokenizerFactory.java

                final Settings settings) {
            super(indexSettings, settings, name);
            ignoreCase = settings.getAsBoolean("ignore_case", true);
            n = settings.getAsInt("n", NGramSynonymTokenizer.DEFAULT_N_SIZE);
            delimiters = settings.get("delimiters", NGramSynonymTokenizer.DEFAULT_DELIMITERS);
            expand = settings.getAsBoolean("expand", true);
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/settings/DefaultMavenSettingsBuilder.java

            this.settingsBuilder = settingsBuilder;
        }
    
        public Settings buildSettings() throws IOException, XmlPullParserException {
            File userSettingsFile = getFile(
                    "${user.home}/.m2/settings.xml", "user.home", MavenSettingsBuilder.ALT_USER_SETTINGS_XML_LOCATION);
    
            return buildSettings(userSettingsFile);
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/suggest/settings/ArraySettings.java

        protected final String settingsId;
        protected final SuggestSettings settings;
    
        private static final Base64.Encoder encoder = Base64.getEncoder();
    
        protected ArraySettings(final SuggestSettings settings, final Client client, final String settingsIndexName, final String settingsId) {
            this.settings = settings;
            this.client = client;
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  7. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/DefaultSettingsBuilderFactory.java

     * under the License.
     */
    package org.apache.maven.settings.building;
    
    import org.apache.maven.settings.io.DefaultSettingsReader;
    import org.apache.maven.settings.io.DefaultSettingsWriter;
    import org.apache.maven.settings.io.SettingsReader;
    import org.apache.maven.settings.io.SettingsWriter;
    import org.apache.maven.settings.validation.DefaultSettingsValidator;
    import org.apache.maven.settings.validation.SettingsValidator;
    
    /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/suggest/settings/ElevateWordSettingsTest.java

            settings.elevateWord().add(elevateWord1);
            settings.elevateWord().add(elevateWord2);
            settings.elevateWord().add(elevateWord3);
    
            assertEquals(3, settings.elevateWord().get().length);
            assertEquals(elevateWord1.getElevateWord(), settings.elevateWord().get()[0].getElevateWord());
            assertEquals(elevateWord1.getBoost(), settings.elevateWord().get()[0].getBoost(), 0);
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  9. schema/index.go

    				}
    
    				if (k == "UNIQUEINDEX") || settings["UNIQUE"] != "" {
    					settings["CLASS"] = "UNIQUE"
    				}
    
    				priority, err := strconv.Atoi(settings["PRIORITY"])
    				if err != nil {
    					priority = 10
    				}
    
    				indexes = append(indexes, Index{
    					Name:    name,
    					Class:   settings["CLASS"],
    					Type:    settings["TYPE"],
    					Where:   settings["WHERE"],
    					Comment: settings["COMMENT"],
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Sun Feb 04 07:49:19 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  10. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/io/DefaultSettingsWriter.java

            Objects.requireNonNull(settings, "settings cannot be null");
    
            output.getParentFile().mkdirs();
    
            write(Files.newOutputStream(output.toPath()), options, settings);
        }
    
        @Override
        public void write(Writer output, Map<String, Object> options, Settings settings) throws IOException {
            Objects.requireNonNull(output, "output cannot be null");
            Objects.requireNonNull(settings, "settings cannot be null");
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
Back to top