- Sort Score
- Result 10 results
- Languages All
Results 711 - 720 of 1,066 for section (0.06 sec)
-
docs_src/sql_databases/tutorial001_an_py310.py
def get_session(): with Session(engine) as session: yield session SessionDep = Annotated[Session, Depends(get_session)] app = FastAPI() @app.on_event("startup") def on_startup(): create_db_and_tables() @app.post("/heroes/") def create_hero(hero: Hero, session: SessionDep) -> Hero: session.add(hero) session.commit() session.refresh(hero) return hero
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Wed Oct 09 19:44:42 UTC 2024 - 1.7K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ToolchainsBuilderRequest.java
} @NotThreadSafe class ToolchainsBuilderRequestBuilder { Session session; Source installationToolchainsSource; Source userToolchainsSource; public ToolchainsBuilderRequestBuilder session(Session session) { this.session = session; return this; }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Thu Aug 22 14:47:43 UTC 2024 - 5.1K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectBuilderRequest.java
@Nonnull static ProjectBuilderRequest build(@Nonnull Session session, @Nonnull Source source) { return builder() .session(nonNull(session, "session cannot be null")) .source(nonNull(source, "source cannot be null")) .build(); } @Nonnull static ProjectBuilderRequest build(@Nonnull Session session, @Nonnull Path path) { return builder()
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Thu Sep 12 06:19:14 UTC 2024 - 5.7K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactDeployerRequest.java
} class ArtifactDeployerRequestBuilder { Session session; RemoteRepository repository; Collection<ProducedArtifact> artifacts; int retryFailedDeploymentCount; ArtifactDeployerRequestBuilder() {} @Nonnull public ArtifactDeployerRequestBuilder session(Session session) { this.session = session; return this; } @Nonnull
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 16:43:07 UTC 2024 - 4.6K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/connection/RouteSelectorTest.kt
dns[uriHost] = dns.allocate(1) var selection = routeSelector.next() val route = selection.next() routeDatabase.failed(route) routeSelector = newRouteSelector(address) selection = routeSelector.next() assertRoute(selection.next(), address, Proxy.NO_PROXY, dns.lookup(uriHost, 0), uriPort) assertThat(selection.hasNext()).isFalse() assertFailsWith<NoSuchElementException> {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Wed Mar 06 17:33:38 UTC 2024 - 20.8K bytes - Viewed (0) -
samples/slack/src/main/java/okhttp3/slack/SlackClient.java
initOauthSession(session); System.out.printf("session granted: %s\n", session); }); System.out.printf("open this URL in a browser: %s\n", authorizeUrl); } /** Set the OAuth session for this client. */ public synchronized void initOauthSession(OAuthSession session) { this.session = session; this.notifyAll(); }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Jan 12 03:31:36 UTC 2019 - 3.4K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyResolverRequest.java
return new DependencyResolverRequestBuilder() .session(session) .requestType(requestType) .project(project) .pathScope(scope) .build(); } @Nonnull
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Wed Oct 16 14:15:37 UTC 2024 - 17.9K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyCoordinatesFactory.java
@Nonnull default DependencyCoordinates create(@Nonnull Session session, @Nonnull ArtifactCoordinates coordinates) { return create(DependencyCoordinatesFactoryRequest.build(session, coordinates)); } @Nonnull default DependencyCoordinates create( @Nonnull Session session, @Nonnull org.apache.maven.api.Dependency dependency) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Tue Aug 27 21:13:34 UTC 2024 - 3.4K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/DefaultMavenInvoker.java
userToolchainsFile != null ? userToolchainsFile.toFile() : null); ToolchainsBuilderRequest toolchainsRequest = ToolchainsBuilderRequest.builder() .session(context.session) .installationToolchainsSource( installationToolchainsFile != null && Files.isRegularFile(installationToolchainsFile)
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 29.8K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactFactory.java
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Tue Aug 27 21:13:34 UTC 2024 - 3.3K bytes - Viewed (0)