Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,722 for settings (0.29 sec)

  1. docs_src/settings/app02_an/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",
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Mar 18 12:29:59 GMT 2023
    - 515 bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/api/admin/keymatch/ApiAdminKeymatchAction.java

                            .total(pager.getAllRecordCount()).status(ApiResult.Status.OK).result());
        }
    
        // GET /api/admin/keymatch/setting/{id}
        @Execute
        public JsonResponse<ApiResult> get$setting(final String id) {
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  3. 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"],
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Sun Feb 04 07:49:19 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  4. operator/README.md

            - key: CriticalAddonsOnly
              operator: Exists
    ```
    
    The K8s settings are defined in detail in the
    [operator API](https://github.com/istio/api/blob/master/operator/v1alpha1/operator.proto).
    The settings are the same for all components, so a user can configure pilot K8s settings in exactly the same, consistent
    way as galley settings. Supported K8s settings currently include:
    
    Plain Text
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Sun Sep 17 08:27:52 GMT 2023
    - 17.5K bytes
    - Viewed (0)
  5. maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java

    import org.apache.maven.settings.Mirror;
    import org.apache.maven.settings.Server;
    import org.apache.maven.settings.building.SettingsProblem;
    import org.apache.maven.settings.crypto.DefaultSettingsDecryptionRequest;
    import org.apache.maven.settings.crypto.SettingsDecrypter;
    import org.apache.maven.settings.crypto.SettingsDecryptionRequest;
    import org.apache.maven.settings.crypto.SettingsDecryptionResult;
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Sep 14 11:48:15 GMT 2023
    - 31.6K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/settings/SettingsUtilsV4.java

        }
    
        /**
         * @param settings could be null
         * @return a new instance of settings or null if settings was null.
         */
        public static org.apache.maven.settings.Settings copySettings(org.apache.maven.settings.Settings settings) {
            if (settings == null) {
                return null;
            }
            return new org.apache.maven.settings.Settings(settings.getDelegate());
        }
    
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Thu Feb 15 08:42:00 GMT 2024
    - 13.8K bytes
    - Viewed (0)
  7. 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,
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Oct 24 20:26:06 GMT 2023
    - 412 bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/settings/SettingsUtils.java

        }
    
        /**
         * @param settings could be null
         * @return a new instance of settings or null if settings was null.
         */
        public static Settings copySettings(Settings settings) {
            if (settings == null) {
                return null;
            }
    
            return new Settings(settings.getDelegate());
        }
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  9. 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,
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Oct 24 20:26:06 GMT 2023
    - 462 bytes
    - Viewed (0)
  10. maven-core/src/test/java/org/apache/maven/execution/DefaultMavenExecutionRequestPopulatorTest.java

            Profile p = new Profile();
            p.setId("test");
            p.addPluginRepository(r);
    
            Settings settings = new Settings();
            settings.addProfile(p);
            settings.addActiveProfile(p.getId());
    
            testee.populateFromSettings(request, settings);
    
            List<ArtifactRepository> repositories = request.getPluginArtifactRepositories();
            assertEquals(1, repositories.size());
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Sat Apr 15 17:24:20 GMT 2023
    - 2.1K bytes
    - Viewed (0)
Back to top