- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 6,307 for session (0.1 sec)
-
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) -
docs_src/sql_databases/tutorial002_py39.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/", response_model=HeroPublic) def create_hero(hero: HeroCreate, session: Session = Depends(get_session)): db_hero = Hero.model_validate(hero) session.add(db_hero) session.commit()
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Wed Oct 09 19:44:42 UTC 2024 - 2.6K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactCoordinatesFactoryRequest.java
return ArtifactCoordinatesFactoryRequest.builder() .session(nonNull(session, "session")) .coordinateString(nonNull(coordinateString, "coordinateString")) .build(); } @Nonnull static ArtifactCoordinatesFactoryRequest build(@Nonnull Session session, @Nonnull ArtifactCoordinates coordinates) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Tue Aug 27 21:13:34 UTC 2024 - 7.5K bytes - Viewed (0) -
docs_src/sql_databases/tutorial001_py39.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/tutorial002_an.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.6K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbSessionImpl.java
import jcifs.internal.smb2.Smb2Constants; import jcifs.internal.smb2.Smb2SigningDigest; import jcifs.internal.smb2.nego.Smb2NegotiateResponse; import jcifs.internal.smb2.session.Smb2LogoffRequest; import jcifs.internal.smb2.session.Smb2SessionSetupRequest; import jcifs.internal.smb2.session.Smb2SessionSetupResponse; import jcifs.util.Hexdump; /** * */ final class SmbSessionImpl implements SmbSessionInternal {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Nov 14 17:41:04 UTC 2021 - 49K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactResolver.java
default ArtifactResolverResult resolve(Session session, Collection<? extends ArtifactCoordinates> coordinates) { return resolve(ArtifactResolverRequest.build(session, coordinates)); } /** * Resolves several artifacts from their coordinates. * * @param session {@link Session} * @param repositories the list of remote repositories or {@code null} to use the session repositories
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Thu Sep 12 06:19:14 UTC 2024 - 3.2K bytes - Viewed (0) -
architecture/build-state-model.md
### Build session state A "build session" represents a single invocation of Gradle, for example when you run `gradlew build`. A session runs the build one or more times. For example, when continuous build is enabled, the session may run the build many times, but when it is disabled, the session will run the build once only. The build session state is managed by the `BuildSessionState` class.
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed May 22 13:39:49 UTC 2024 - 3.4K bytes - Viewed (0)