- Sort Score
- Num 10 results
- Language All
Results 281 - 290 of 545 for csession (0.04 seconds)
-
tests/test_tutorial/test_cookie_params/test_tutorial001.py
("/items", {"ads_id": "ads_track"}, 200, {"ads_id": "ads_track"}), ( "/items", {"ads_id": "ads_track", "session": "cookiesession"}, 200, {"ads_id": "ads_track"}, ), ("/items", {"session": "cookiesession"}, 200, {"ads_id": None}), ], ) def test(path, cookies, expected_status, expected_response, mod: ModuleType):Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 18:19:10 GMT 2025 - 4K bytes - Click Count (0) -
tests/hooks_test.go
} DB.Model(&product).Session(&gorm.Session{SkipHooks: true}).Updates(Product3{Code: "L1216"}) if product.Price != 320 || product.Code != "L1216" { t.Errorf("invalid data after update, got %+v", product) } var result2 Product3 DB.First(&result2, product.ID) AssertEqual(t, result2, product) product2 := Product3{Name: "Product", Price: 0} DB.Session(&gorm.Session{SkipHooks: true}).Create(&product2)
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Mon Jun 17 03:59:06 GMT 2024 - 16.7K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/Artifact.java
* @see org.apache.maven.api.Session#isVersionSnapshot(String) */ boolean isSnapshot(); /** * {@return coordinates with the same identifiers as this artifact}. * This is a shortcut for {@code session.createArtifactCoordinates(artifact)}. * * @see org.apache.maven.api.Session#createArtifactCoordinates(Artifact) */ @NonnullCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Jun 26 07:56:58 GMT 2025 - 4.6K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/WorkspaceRepository.java
package org.apache.maven.api; import org.apache.maven.api.annotations.Nonnull; /** * Represents a repository backed by an IDE workspace, the output of a build session, * or similar ad-hoc collections of artifacts. This repository is considered read-only * within the context of a session, meaning it can only be used for artifact resolution, * not for installation or deployment. This interface does not provide direct access
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Feb 07 00:45:02 GMT 2025 - 1.5K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/DefaultMavenTest.java
private final AtomicReference<Class<?>> wsrClassRef = new AtomicReference<>(null); @Override public void afterProjectsRead(MavenSession session) throws MavenExecutionException { wsrClassRef.set(session.getRepositorySession().getWorkspaceReader().getClass()); } } @Inject private Maven maven; @Override protected String getProjectsDirectory() {
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Mar 21 04:56:21 GMT 2025 - 4.3K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/graph/DefaultGraphBuilderTest.java
projectParent.setCollectedProjects(singletonList(projectModuleD)); // Set up needed mocks when(session.getRequest()).thenReturn(mavenExecutionRequest); when(session.getProjects()).thenReturn(null); // needed, otherwise it will be an empty list by default when(mavenExecutionRequest.getProjectBuildingRequest()).thenReturn(mock(ProjectBuildingRequest.class));Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Dec 09 20:39:03 GMT 2025 - 28K bytes - Click Count (0) -
tests/associations_test.go
coupon := &Coupon{ AppliesToProduct: []*CouponProduct{ {ProductId: "full-save-association-product1"}, }, AmountOff: 10, PercentOff: 0.0, } err := DB. Session(&gorm.Session{FullSaveAssociations: true}). Create(coupon).Error if err != nil { t.Errorf("Failed, got error: %v", err) } if DB.First(&Coupon{}, "id = ?", coupon.ID).Error != nil {Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Fri Sep 12 04:33:27 GMT 2025 - 13.3K bytes - Click Count (0) -
docs/en/docs/tutorial/sql-databases.md
### Create a Session Dependency { #create-a-session-dependency } A **`Session`** is what stores the **objects in memory** and keeps track of any changes needed in the data, then it **uses the `engine`** to communicate with the database. We will create a FastAPI **dependency** with `yield` that will provide a new `Session` for each request. This is what ensures that we use a single session per request. 🤓Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Dec 02 05:06:56 GMT 2025 - 15.8K bytes - Click Count (0) -
docs/de/docs/tutorial/sql-databases.md
{* ../../docs_src/sql_databases/tutorial001_an_py310.py ln[21:22] hl[21:22] *} ### Eine Session-Abhängigkeit erstellen { #create-a-session-dependency } Eine <abbr title="Sitzung">**`Session`**</abbr> speichert die **Objekte im Speicher** und verfolgt alle Änderungen, die an den Daten vorgenommen werden müssen, dann **verwendet sie die `engine`**, um mit der Datenbank zu kommunizieren.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Dec 02 17:32:56 GMT 2025 - 18.1K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/plugin/internal/Maven3CompatDependenciesValidator.java
Maven3CompatDependenciesValidator(PluginValidationManager pluginValidationManager) { super(pluginValidationManager); } @Override protected void doValidate( RepositorySystemSession session, Artifact pluginArtifact, ArtifactDescriptorResult artifactDescriptorResult) { for (org.eclipse.aether.graph.Dependency dependency : artifactDescriptorResult.getDependencies()) {
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.4K bytes - Click Count (0)