Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 40 for get_settings (0.17 sec)

  1. tests/test_tutorial/test_settings/test_tutorial001_pv1.py

    from fastapi.testclient import TestClient
    from pytest import MonkeyPatch
    
    from ...utils import needs_pydanticv1
    
    
    @needs_pydanticv1
    def test_settings(monkeypatch: MonkeyPatch):
        monkeypatch.setenv("ADMIN_EMAIL", "******@****.***")
        from docs_src.settings.tutorial001_pv1 import app
    
        client = TestClient(app)
        response = client.get("/info")
        assert response.status_code == 200, response.text
        assert response.json() == {
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 556 bytes
    - Viewed (0)
  2. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/StringSettingsSource.java

         *
         * @return The underlying character stream, never {@code null}.
         * @deprecated instead use {@link #getContent()}
         */
        @Deprecated
        public String getSettings() {
            return getContent();
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/RemoteRepository.java

     * </p>
     *
     *
     * @since 4.0.0
     * @see Repository
     * @see LocalRepository
     * @see Session#getSettings()
     * @see ModelBase#getRepositories()
     * @see ModelBase#getPluginRepositories()
     */
    @Experimental
    @Immutable
    public interface RemoteRepository extends Repository {
    
        @Nonnull
        String getUrl();
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Aug 27 21:13:34 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  4. internal/config/identity/openid/openid.go

    // Enabled returns if configURL is enabled.
    func Enabled(kvs config.KVS) bool {
    	return kvs.Get(ConfigURL) != ""
    }
    
    // GetSettings - fetches OIDC settings for site-replication related validation.
    // NOTE that region must be populated by caller as this package does not know.
    func (r *Config) GetSettings() madmin.OpenIDSettings {
    	res := madmin.OpenIDSettings{}
    	if !r.Enabled {
    		return res
    	}
    	h := sha256.New()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 10 20:16:44 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/suggest/Suggester.java

                    if (logger.isInfoEnabled()) {
                        logger.info("Create suggest index: {}", indexName);
                    }
    
                    client.admin().indices().prepareCreate(indexName).setSettings(settingsSource, XContentType.JSON).setMapping(mappingSource)
                            .addAlias(new Alias(getSearchAlias(index))).addAlias(new Alias(getUpdateAlias(index))).execute()
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  6. mockwebserver/api/mockwebserver3.api

    	public final fun getInTunnel ()Z
    	public final fun getInformationalResponses ()Ljava/util/List;
    	public final fun getMessage ()Ljava/lang/String;
    	public final fun getPushPromises ()Ljava/util/List;
    	public final fun getSettings ()Lokhttp3/internal/http2/Settings;
    	public final fun getSocketPolicy ()Lmockwebserver3/SocketPolicy;
    	public final fun getStatus ()Ljava/lang/String;
    	public final fun getStreamHandler ()Lmockwebserver3/StreamHandler;
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 03 21:59:45 UTC 2023
    - 12.7K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/artifact/manager/DefaultWagonManager.java

        }
    
        @Deprecated
        public ArtifactRepository getMirrorRepository(ArtifactRepository repository) {
    
            Mirror mirror = mirrorSelector.getMirror(
                    repository, legacySupport.getSession().getSettings().getMirrors());
    
            if (mirror != null) {
                String id = mirror.getId();
                if (id == null) {
                    // TODO this should be illegal in settings.xml
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/suggest/settings/SuggestSettings.java

                doCreate = true;
            }
    
            if (doCreate) {
                if (doIndexCreate) {
                    try {
                        client.admin().indices().prepareCreate(settingsIndexName).setSettings(loadIndexSettings(), XContentType.JSON).execute()
                                .actionGet(getIndicesTimeout());
                    } catch (final IOException e) {
                        throw new SuggesterException(e);
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/plugin/internal/DefaultPluginManager.java

                        PluginNotFoundException, PluginVersionNotFoundException {
            return verifyPlugin(plugin, project, session.getSettings(), session.getLocalRepository());
        }
    
        public PluginDescriptor loadPluginFully(Plugin plugin, MavenProject project, MavenSession session)
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10K bytes
    - Viewed (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/ProtoSession.java

            return new ProtoSession(
                    session, repositorySystem, repositories, null, lookup, new Context(userProperties, systemProperties));
        }
    
        @Override
        public Settings getSettings() {
            return Settings.newInstance();
        }
    
        @Override
        public Map<String, String> getUserProperties() {
            return Map.of();
        }
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 15.4K bytes
    - Viewed (0)
Back to top