- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 717 for setKinds (0.08 sec)
-
tests/test_tutorial/test_settings/test_app02.py
@needs_pydanticv2 def test_settings(monkeypatch: MonkeyPatch): from docs_src.settings.app02 import main monkeypatch.setenv("ADMIN_EMAIL", "******@****.***") settings = main.get_settings() assert settings.app_name == "Awesome API" assert settings.items_per_user == 50 @needs_pydanticv2 def test_override_settings(): from docs_src.settings.app02 import test_main
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 488 bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReaderTest.java
String indexName = "test-index"; Client client = runner.client(); SuggestSettings settings = suggester.settings(); int num = 10000; addDocument(indexName, client, num); ESSourceReader reader = new ESSourceReader(client, settings, indexName); reader.setScrollSize(1000); int count = 0;
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 8.9K bytes - Viewed (0) -
compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/StringSettingsSource.java
*/ public StringSettingsSource(CharSequence settings) { this(settings, null); } /** * Creates a new settings source backed by the specified string. * * @param settings The settings' string representation, may be empty or {@code null}. * @param location The location to report for this use, may be {@code null}. */
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/SettingsBuilderResult.java
import org.apache.maven.api.annotations.Nonnull; import org.apache.maven.api.settings.Settings; /** * * @since 4.0.0 */ @Experimental public interface SettingsBuilderResult { /** * Gets the assembled settings. * * @return the assembled settings, never {@code null} */ @Nonnull Settings getEffectiveSettings(); /**
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Wed Feb 28 23:54:53 UTC 2024 - 1.7K bytes - Viewed (0) -
src/test/java/org/codelibs/opensearch/extension/analysis/ReloadableStopFilterFactory.java
final Settings settings) { super(indexSettings, name, settings); final String path = settings.get("stopwords_path"); if (path != null) { stopwordPath = environment.configFile().resolve(path); } else { stopwordPath = null; } ignoreCase = settings.getAsBoolean("ignore_case", false);
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 2.1K bytes - Viewed (0) -
docs_src/settings/tutorial001_pv1.py
from pydantic 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 - 410 bytes - Viewed (0) -
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,
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Oct 24 20:26:06 UTC 2023 - 462 bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/converter/AnalyzerConverter.java
private final SuggestSettings settings; protected final AnalyzerSettings analyzerSettings; protected final Transliterator transliterator = Transliterator.getInstance("Hiragana-Katakana"); public AnalyzerConverter(final Client client, final SuggestSettings settings) { this.client = client; this.settings = settings; analyzerSettings = settings.analyzer(); } @Override
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 4.8K bytes - Viewed (0) -
src/test/java/org/codelibs/opensearch/extension/analysis/AlphaNumWordFilterFactory.java
private final int maxTokenLength; public AlphaNumWordFilterFactory(final IndexSettings indexSettings, final Environment environment, final String name, final Settings settings) { super(indexSettings, name, settings); maxTokenLength = settings.getAsInt("max_token_length", AlphaNumWordFilter.DEFAULT_MAX_TOKEN_LENGTH); } @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.6K bytes - Viewed (0) -
compat/maven-settings-builder/src/main/java/org/apache/maven/settings/crypto/DefaultSettingsDecryptionRequest.java
// does nothing } /** * Creates a new request to decrypt the specified settings. * * @param settings The settings to decrypt, must not be {@code null}. */ public DefaultSettingsDecryptionRequest(Settings settings) { setServers(settings.getServers()); setProxies(settings.getProxies()); } /** * Creates a new request to decrypt the specified server. *
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.9K bytes - Viewed (0)