- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 31 for getSettings (0.16 seconds)
-
mockwebserver-deprecated/api/mockwebserver.api
public final fun getHeadersDelay (Ljava/util/concurrent/TimeUnit;)J public final fun getHttp2ErrorCode ()I public final fun getPushPromises ()Ljava/util/List; public final fun getSettings ()Lokhttp3/internal/http2/Settings; public final fun getSocketPolicy ()Lokhttp3/mockwebserver/SocketPolicy; public final fun getStatus ()Ljava/lang/String; public final fun getThrottleBytesPerPeriod ()J
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sat Jul 22 12:28:51 GMT 2023 - 10.2K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/MavenSession.java
* * @return The system properties, never {@code null}. */ public Properties getSystemProperties() { return request.getSystemProperties(); } public Settings getSettings() { return settings; } public List<MavenProject> getProjects() { return projects; } /** * @deprecated use {@link #getTopDirectory()} ()} */Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jan 24 17:29:44 GMT 2025 - 16.7K bytes - Click Count (0) -
impl/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())
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Mon May 05 16:58:52 GMT 2025 - 28.7K bytes - Click Count (1) -
api/maven-api-core/src/main/java/org/apache/maven/api/Session.java
*/ @Nonnull Version getMavenVersion(); /** * Retrieves the settings for the current session. * * @return the settings instance */ @Nonnull Settings getSettings(); /** * Retrieves toolchain models that have been explicitly configured. * * @return the toolchain models */ @Nonnull Collection<ToolchainModel> getToolchains();Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Jul 03 14:18:26 GMT 2025 - 36.5K bytes - Click Count (0) -
cmd/site-replication.go
LDAPGroupSearchBase: globalIAMSys.LDAPConfig.LDAP.GroupSearchBaseDistName, LDAPGroupSearchFilter: globalIAMSys.LDAPConfig.LDAP.GroupSearchFilter, } s.OpenID = globalIAMSys.OpenIDConfig.GetSettings() if s.OpenID.Enabled { s.OpenID.Region = globalSite.Region() } return s } func (c *SiteReplicationSys) validateIDPSettings(ctx context.Context, peers []PeerSiteInfo) error {Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 184.8K bytes - Click Count (1) -
docs_src/settings/app02_py39/main.py
from functools import lru_cache from fastapi import Depends, FastAPI from .config import Settings app = FastAPI() @lru_cache def get_settings(): return Settings() @app.get("/info") async def info(settings: Settings = Depends(get_settings)): return { "app_name": settings.app_name, "admin_email": settings.admin_email, "items_per_user": settings.items_per_user,
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 406 bytes - Click Count (0) -
docs_src/settings/app02_py39/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",
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 515 bytes - Click Count (0) -
docs_src/settings/app03_py39/main.py
from functools import lru_cache from fastapi import Depends, FastAPI 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,
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 412 bytes - Click Count (0) -
docs_src/settings/app03_an_py39/main.py
from typing import Annotated from fastapi import Depends, FastAPI 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,
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 10 08:55:32 GMT 2025 - 451 bytes - Click Count (0) -
docs_src/settings/app02_an_py39/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",
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Mar 18 12:29:59 GMT 2023 - 515 bytes - Click Count (0)