- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 1,175 for sessions (0.05 sec)
-
docs_src/sql_databases/tutorial001.py
def get_session(): with Session(engine) as session: yield session app = FastAPI() @app.on_event("startup") def on_startup(): create_db_and_tables() @app.post("/heroes/") def create_hero(hero: Hero, session: Session = Depends(get_session)) -> Hero: session.add(hero) session.commit() session.refresh(hero) return hero @app.get("/heroes/")
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Wed Oct 09 19:44:42 UTC 2024 - 1.8K bytes - Viewed (0) -
docs_src/sql_databases/tutorial001_py310.py
def get_session(): with Session(engine) as session: yield session app = FastAPI() @app.on_event("startup") def on_startup(): create_db_and_tables() @app.post("/heroes/") def create_hero(hero: Hero, session: Session = Depends(get_session)) -> Hero: session.add(hero) session.commit() session.refresh(hero) return hero @app.get("/heroes/")
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/SettingsBuilderRequest.java
@NotThreadSafe class SettingsBuilderRequestBuilder { Session session; Source installationSettingsSource; Source projectSettingsSource; Source userSettingsSource; Function<String, String> interpolationSource; public SettingsBuilderRequestBuilder session(Session session) { this.session = session; return this; }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Thu Oct 17 09:25:53 UTC 2024 - 7.9K 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/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) -
licenses/github.com/hashicorp/go-multierror/LICENSE
10. Versions of the License 10.1. New Versions Mozilla Foundation is the license steward. Except as provided in Section 10.3, no one other than the license steward has the right to modify or publish new versions of this License. Each version will be given a distinguishing version number. 10.2. Effect of New Versions
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Sat Oct 26 02:47:39 UTC 2019 - 15.6K 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) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilderRequest.java
@Nonnull static ModelBuilderRequest build(@Nonnull Session session, @Nonnull ModelSource source) { return builder() .session(nonNull(session, "session cannot be null")) .source(nonNull(source, "source cannot be null")) .build(); } @Nonnull static ModelBuilderRequest build(@Nonnull Session session, @Nonnull Path path) { return builder()
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Wed Oct 09 11:07:31 UTC 2024 - 13.3K bytes - Viewed (0)