- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 3,772 for Session (0.07 sec)
-
api/maven-api-core/src/main/java/org/apache/maven/api/Session.java
* * @param version the version string to parse * @return the version parsed from the given string * @throws org.apache.maven.api.services.VersionParserException if the parsing failed * @see org.apache.maven.api.services.VersionParser#parseVersion(String) */ @Nonnull Version parseVersion(@Nonnull String version); /** * Parses the specified version range specification, for example "[1.0,2.0)".
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 16:43:07 UTC 2024 - 36.4K bytes - Viewed (0) -
docs_src/sql_databases/tutorial002_an_py39.py
hero_db.sqlmodel_update(hero_data) session.add(hero_db) session.commit() session.refresh(hero_db) return hero_db @app.delete("/heroes/{hero_id}") def delete_hero(hero_id: int, session: SessionDep): hero = session.get(Hero, hero_id) if not hero: raise HTTPException(status_code=404, detail="Hero not found") session.delete(hero) session.commit()
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Wed Oct 09 19:44:42 UTC 2024 - 2.5K bytes - Viewed (0) -
docs_src/sql_databases/tutorial001_an.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.8K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactCoordinatesFactory.java
* @throws IllegalArgumentException if {@code session} is null or invalid */ @Nonnull default ArtifactCoordinates create(@Nonnull Session session, @Nonnull String coordinatesString) { return create(ArtifactCoordinatesFactoryRequest.build(session, coordinatesString)); } @Nonnull default ArtifactCoordinates create(
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Tue Aug 27 21:13:34 UTC 2024 - 3.4K 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) -
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/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/ArtifactFactory.java
*/ @Nonnull Artifact create(@Nonnull ArtifactFactoryRequest request); @Nonnull default Artifact create( @Nonnull Session session, String groupId, String artifactId, String version, String extension) { return create(ArtifactFactoryRequest.build(session, groupId, artifactId, version, extension)); } @Nonnull
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Tue Aug 27 21:13:34 UTC 2024 - 3.3K bytes - Viewed (0)