Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 913 for settings1 (0.07 sec)

  1. src/test/java/org/codelibs/opensearch/extension/analysis/CharTypeFilterFactory.java

                final Settings settings) {
            super(indexSettings, name, settings);
    
            alphabetic = settings.getAsBoolean("alphabetic", true);
            digit = settings.getAsBoolean("digit", true);
            letter = settings.getAsBoolean("letter", true);
        }
    
        @Override
        public TokenStream create(final TokenStream tokenStream) {
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  2. docs_src/settings/app03/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 Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 24 20:26:06 UTC 2023
    - 412 bytes
    - Viewed (0)
  3. docs_src/settings/tutorial001.py

    from pydantic_settings 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
    - 419 bytes
    - Viewed (0)
  4. docs_src/settings/app03_an/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
    - 451 bytes
    - Viewed (0)
  5. docs_src/settings/app02/test_main.py

    from fastapi.testclient import TestClient
    
    from .config import Settings
    from .main import app, get_settings
    
    client = TestClient(app)
    
    
    def get_settings_override():
        return Settings(admin_email="******@****.***")
    
    
    app.dependency_overrides[get_settings] = get_settings_override
    
    
    def test_app():
        response = client.get("/info")
        data = response.json()
        assert data == {
            "app_name": "Awesome API",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Jul 29 09:26:07 UTC 2021
    - 515 bytes
    - Viewed (0)
  6. docs/contribute/debug_logging.md

    [2020-01-01 00:00:00] >> 0x00000000     6 SETTINGS
    [2020-01-01 00:00:00] >> 0x00000000     4 WINDOW_UPDATE
    [2020-01-01 00:00:00] >> 0x00000003    47 HEADERS       END_STREAM|END_HEADERS
    [2020-01-01 00:00:00] << 0x00000000     6 SETTINGS
    [2020-01-01 00:00:00] << 0x00000000     0 SETTINGS      ACK
    [2020-01-01 00:00:00] << 0x00000000     4 WINDOW_UPDATE
    [2020-01-01 00:00:00] >> 0x00000000     0 SETTINGS      ACK
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 06 16:35:36 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/plugin/PluginManager.java

    import org.apache.maven.plugin.version.PluginVersionResolutionException;
    import org.apache.maven.project.MavenProject;
    import org.apache.maven.project.artifact.InvalidDependencyVersionException;
    import org.apache.maven.settings.Settings;
    import org.codehaus.plexus.component.repository.exception.ComponentLookupException;
    
    /**
     */
    @Deprecated
    public interface PluginManager {
        String ROLE = PluginManager.class.getName();
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/opensearch/extension/analysis/ReloadableKuromojiTokenizerFactory.java

                final Settings settings) {
            super(indexSettings, settings, name);
            this.env = env;
            this.settings = settings;
            mode = KuromojiTokenizerFactory.getMode(settings);
            userDictionary = KuromojiTokenizerFactory.getUserDictionary(env, settings);
            discartPunctuation = settings.getAsBoolean("discard_punctuation", true);
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/LocalRepository.java

     * Unix-like systems or {@code C:\Users\YourName\.m2\repository} on Windows).
     * The location of the local repository can be customized in the
     * {@code settings.xml} file.</p>
     *
     * @since 4.0.0
     * @see Repository
     * @see org.apache.maven.api.settings.Settings
     */
    @Experimental
    @Immutable
    public interface LocalRepository extends Repository {
    
        @Nonnull
        Path getPath();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Aug 27 21:13:34 UTC 2024
    - 2K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/opensearch/extension/kuromoji/index/analysis/JapaneseStopTokenFilterFactory.java

            super(indexSettings, name, settings);
            this.ignoreCase = settings.getAsBoolean("ignore_case", false);
            this.removeTrailing = settings.getAsBoolean("remove_trailing", true);
            this.stopWords =
                    Analysis.parseWords(env, settings, "stopwords", JapaneseAnalyzer.getDefaultStopSet(), NAMED_STOP_WORDS, ignoreCase);
        }
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 2.4K bytes
    - Viewed (0)
Back to top