Search Options

Results per page
Sort
Preferred Languages
Advance

Results 461 - 470 of 1,047 for setting (0.12 sec)

  1. docs_src/settings/app02/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: 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
    - 406 bytes
    - Viewed (0)
  2. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/validation/DefaultSettingsValidator.java

        }
    
        @Override
        public void validate(Settings settings, SettingsProblemCollector problems) {
            validate(settings, false, problems);
        }
    
        @Override
        public void validate(Settings settings, boolean isProjectSettings, SettingsProblemCollector problems) {
            List<BuilderProblem> list = settingsBuilder.validate(settings.getDelegate(), isProjectSettings);
            for (BuilderProblem problem : list) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  3. compat/maven-settings-builder/src/test/java/org/apache/maven/settings/validation/DefaultSettingsValidatorTest.java

            Settings settings = new Settings();
            Proxy proxy = new Proxy();
            String id = "foo";
            proxy.setId(id);
            proxy.setHost("www.example.com");
            settings.addProxy(proxy);
            settings.addProxy(proxy);
    
            SimpleProblemCollector problems = new SimpleProblemCollector();
            validator.validate(settings, problems);
    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. 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)
  5. src/test/java/org/codelibs/opensearch/extension/analysis/NGramSynonymTokenizerFactory.java

        private final int n;
    
        private final String delimiters;
    
        private final boolean expand;
    
        private SynonymLoader synonymLoader = null;
    
        public NGramSynonymTokenizerFactory(final IndexSettings indexSettings, final Environment env, final String name,
                final Settings settings) {
            super(indexSettings, settings, name);
            ignoreCase = settings.getAsBoolean("ignore_case", 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)
  6. 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)
  7. 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)
  8. 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)
  9. src/main/java/org/codelibs/fess/suggest/settings/ArraySettings.java

        protected final String arraySettingsIndexName;
        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)
  10. schema/index.go

    	"strings"
    )
    
    type Index struct {
    	Name    string
    	Class   string // UNIQUE | FULLTEXT | SPATIAL
    	Type    string // btree, hash, gist, spgist, gin, and brin
    	Where   string
    	Comment string
    	Option  string        // WITH PARSER parser_name
    	Fields  []IndexOption // Note: IndexOption's Field maybe the same
    }
    
    type IndexOption struct {
    	*Field
    	Expression string
    	Sort       string // DESC, ASC
    	Collate    string
    	Length     int
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Sun Feb 04 07:49:19 UTC 2024
    - 3.7K bytes
    - Viewed (0)
Back to top