- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for _get_settings (0.99 sec)
-
docs/en/docs/advanced/settings.md
```Python hl_lines="1 10" {!> ../../../docs_src/settings/app03/main.py!} ``` Then for any subsequent calls of `get_settings()` in the dependencies for the next requests, instead of executing the internal code of `get_settings()` and creating a new `Settings` object, it will return the same object that was returned on the first call, again and again. #### `lru_cache` Technical Details
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Sat May 18 23:43:13 UTC 2024 - 15.7K bytes - Viewed (0) -
pkg/test/framework/suite.go
return newSuite(suiteName, func(_ *suiteContext) int { return m.Run() }, os.Exit, getSettings) } func newSuite(testID string, fn mRunFn, osExit func(int), getSettingsFn getSettingsFunc) *suiteImpl { s := &suiteImpl{ testID: testID, mRun: fn, osExit: osExit, getSettings: getSettingsFn, labels: label.NewSet(), } return s }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 22:12:34 UTC 2024 - 17.2K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/invocation/DefaultGradle.java
this.baseProjectClassLoaderScope = classLoaderScope; } @Override public SettingsInternal getSettings() { if (settings == null) { throw new IllegalStateException("The settings are not yet available for " + this + "."); } return settings.getSettings(); } @Override public void attachSettings(@Nullable SettingsState settings) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 22 05:18:22 UTC 2024 - 23.6K bytes - Viewed (0) -
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 Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 16.5K bytes - Viewed (0) -
platforms/software/build-init/src/main/java/org/gradle/buildinit/tasks/InitBuild.java
if (userInterrupted) { throw new BuildCancelledException(); } settings.getInitializer().generate(settings.getSettings()); generateWrapper(); settings.getInitializer().getFurtherReading(settings.getSettings()) .ifPresent(link -> getLogger().lifecycle(link)); } private GenerationSettings calculateGenerationSettings(UserQuestions userQuestions) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 10 12:58:10 UTC 2024 - 24.9K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/CrossProjectConfigurationReportingGradle.kt
override fun getOwner(): BuildState = delegate.owner override fun getProjectEvaluationBroadcaster(): ProjectEvaluationListener = delegate.projectEvaluationBroadcaster override fun getSettings(): SettingsInternal = delegate.settings override fun attachSettings(settings: SettingsState?) { delegate.attachSettings(settings) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 14.2K bytes - Viewed (0) -
maven-api-impl/src/test/java/org/apache/maven/internal/impl/standalone/ApiRunner.java
return new DefaultSession(session, repositorySystem, repositories, null, lookup); } @Override public Settings getSettings() { return Settings.newInstance(); } @Override public Map<String, String> getUserProperties() { return Map.of(); } @Override
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Tue Jun 11 07:23:04 UTC 2024 - 17.1K bytes - Viewed (0) -
subprojects/core-api/src/main/java/org/gradle/api/initialization/Settings.java
*/ void includeFlat(Iterable<String> projectNames); /** * <p>Returns this settings object.</p> * * @return This settings object. Never returns null. */ Settings getSettings(); /** * Provides access to important locations for a Gradle build. * * @since 8.5 */ @Incubating BuildLayout getLayout(); /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 22 08:36:37 UTC 2024 - 14.7K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/DefaultMaven.java
.flatMap(p -> p.getModel().getDelegate().getProfiles().stream()) .map(Profile::getId); final Stream<String> settingsProfiles = session.getSettings().getProfiles().stream().map(org.apache.maven.settings.Profile::getId); final Stream<String> superPomProfiles = superPomModels.values().stream() .flatMap(p -> p.getProfiles().stream())
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Fri Apr 12 10:50:18 UTC 2024 - 27.5K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/Session.java
* TODO: add a Request interface holding session + parent request * * @since 4.0.0 */ @Experimental @ThreadSafe public interface Session { @Nonnull Settings getSettings(); @Nonnull LocalRepository getLocalRepository(); @Nonnull List<RemoteRepository> getRemoteRepositories(); @Nonnull SessionData getData(); /**
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Tue Jun 11 07:23:04 UTC 2024 - 30.2K bytes - Viewed (0)