- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 20 for get_settings (0.19 sec)
-
docs/pt/docs/advanced/settings.md
/// ```Python hl_lines="1 10" {!> ../../docs_src/settings/app03/main.py!} ``` //// Dessa forma, todas as chamadas da função `get_settings()` nas dependências das próximas requisições, em vez de executar o código interno de `get_settings()` e instanciar um novo objeto `Settings`, irão retornar o mesmo objeto que foi retornado na primeira chamada, de novo e de novo. #### Detalhes Técnicos de `lru_cache`
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 17K bytes - Viewed (0) -
docs/de/docs/advanced/settings.md
```Python hl_lines="1 10" {!> ../../docs_src/settings/app03/main.py!} ``` //// Dann wird bei allen nachfolgenden Aufrufen von `get_settings()`, in den Abhängigkeiten für darauffolgende Requests, dasselbe Objekt zurückgegeben, das beim ersten Aufruf zurückgegeben wurde, anstatt den Code von `get_settings()` erneut auszuführen und ein neues `Settings`-Objekt zu erstellen. #### Technische Details zu `lru_cache`
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 17.7K bytes - Viewed (0) -
docs/em/docs/advanced/settings.md
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 11.3K bytes - Viewed (0) -
docs/en/docs/advanced/settings.md
/// ```Python hl_lines="1 10" {!> ../../docs_src/settings/app03/main.py!} ``` //// Then for any subsequent call 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: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 12.9K bytes - Viewed (0) -
docs/zh/docs/advanced/settings.md
/// tip 如果可能,请尽量使用 `Annotated` 版本。 /// ```Python hl_lines="1 10" {!> ../../docs_src/settings/app03/main.py!} ``` //// 然后,在下一次请求的依赖项中对 `get_settings()` 进行任何后续调用时,它不会执行 `get_settings()` 的内部代码并创建新的 `Settings` 对象,而是返回在第一次调用时返回的相同对象,一次又一次。 #### `lru_cache` 技术细节 `@lru_cache` 修改了它所装饰的函数,以返回第一次返回的相同值,而不是再次计算它,每次都执行函数的代码。 因此,下面的函数将对每个参数组合执行一次。然后,每个参数组合返回的值将在使用完全相同的参数组合调用函数时再次使用。
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 13.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/settings/AnalyzerSettings.java
.execute().actionGet(this.settings.getIndicesTimeout()); } protected void createAnalyzerSettings(final Map<String, Object> settings, final Map<String, Object> mappings) { client.admin().indices().prepareCreate(analyzerSettingsIndexName).setSettings(settings).execute()
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 19.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/sso/saml/SamlAuthenticator.java
} final HttpServletResponse response = LaResponseUtil.getResponse(); try { final Auth auth = new Auth(getSettings(), request, response); final Saml2Settings settings = auth.getSettings(); settings.setSPValidationOnly(true); final String metadata = settings.getSPMetadata();
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 15.2K 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 Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Jul 10 20:16:44 UTC 2024 - 16.6K bytes - Viewed (0) -
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) -
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)