- Sort Score
- Result 10 results
- Languages All
Results 211 - 220 of 914 for _settings (0.09 sec)
-
compat/maven-settings-builder/src/main/java/org/apache/maven/settings/io/DefaultSettingsReader.java
import org.apache.maven.settings.v4.SettingsStaxReader; /** * Handles deserialization of settings from the default textual format. * * @deprecated since 4.0.0, use {@link SettingsStaxReader} instead */ @Named @Singleton @Deprecated(since = "4.0.0") public class DefaultSettingsReader implements SettingsReader { @Override public Settings read(File input, Map<String, ?> options) throws IOException {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.6K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/Constants.java
/** * Maven installation settings. * * @since 4.0.0 */ @Config(defaultValue = "${maven.installation.conf}/settings.xml") public static final String MAVEN_INSTALLATION_SETTINGS = "maven.installation.settings"; /** * Maven user settings. * * @since 4.0.0 */ @Config(defaultValue = "${maven.user.conf}/settings.xml")
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:24:08 UTC 2024 - 14K bytes - Viewed (0) -
compat/maven-settings/pom.xml
<relativePath>../../</relativePath> </parent> <artifactId>maven-settings</artifactId> <name>Maven Settings</name> <description>Maven Settings model.</description> <dependencies> <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-api-settings</artifactId> </dependency> <dependency> <groupId>org.apache.maven</groupId>
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.8K bytes - Viewed (0) -
src/test/java/org/codelibs/opensearch/extension/analysis/CharTypeFilterFactory.java
final Settings settings) { super(indexSettings, name, settings); alphabetic = settings.getAsBoolean("alphabetic", true); digit = settings.getAsBoolean("digit", true); letter = settings.getAsBoolean("letter", true); } @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.7K bytes - Viewed (0) -
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,
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Oct 24 20:26:06 UTC 2023 - 412 bytes - Viewed (0) -
docs_src/settings/tutorial001.py
from pydantic_settings 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 - 419 bytes - Viewed (0) -
docs_src/settings/app03_an/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 - 451 bytes - Viewed (0) -
docs_src/settings/app02/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",
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Jul 29 09:26:07 UTC 2021 - 515 bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/plugin/PluginManager.java
import org.apache.maven.plugin.version.PluginVersionResolutionException; import org.apache.maven.project.MavenProject; import org.apache.maven.project.artifact.InvalidDependencyVersionException; import org.apache.maven.settings.Settings; import org.codehaus.plexus.component.repository.exception.ComponentLookupException; /** */ @Deprecated public interface PluginManager { String ROLE = PluginManager.class.getName();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.8K bytes - Viewed (0) -
src/test/java/org/codelibs/opensearch/extension/analysis/ReloadableKuromojiTokenizerFactory.java
final Settings settings) { super(indexSettings, settings, name); this.env = env; this.settings = settings; mode = KuromojiTokenizerFactory.getMode(settings); userDictionary = KuromojiTokenizerFactory.getUserDictionary(env, settings); discartPunctuation = settings.getAsBoolean("discard_punctuation", true);
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 9.5K bytes - Viewed (0)