Search Options

Results per page
Sort
Preferred Languages
Advance

Results 381 - 390 of 772 for CSession (0.07 sec)

  1. docs/de/docs/advanced/advanced-dependencies.md

    Wenn Sie beispielsweise eine Datenbanksession in einer Abhängigkeit mit `yield` hatten, konnte die `StreamingResponse` diese Session während des Streamens von Daten nicht verwenden, weil die Session im Exit-Code nach `yield` bereits geschlossen worden wäre.
    
    Dieses Verhalten wurde in 0.118.0 zurückgenommen, sodass der Exit-Code nach `yield` ausgeführt wird, nachdem die Response gesendet wurde.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 02 17:32:56 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  2. 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. 🤓
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 02 05:06:56 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  3. 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.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 02 17:32:56 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  4. impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/stub/MojoExecutorStub.java

                    messageBuilderFactory);
        }
    
        @Override
        public void execute(MavenSession session, List<MojoExecution> mojoExecutions) throws LifecycleExecutionException {
            executions.addAll(mojoExecutions);
        }
    
        @Override
        public List<MavenProject> executeForkedExecutions(MojoExecution mojoExecution, MavenSession session)
                throws LifecycleExecutionException {
            return null;
        }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Mar 21 04:56:21 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/multichannel/Smb2ChannelCapabilities.java

        /**
         * Channel binding is required
         */
        public static final int CHANNEL_BINDING_REQUIRED = 2;
    
        /**
         * Default maximum number of channels per session
         */
        public static final int DEFAULT_MAX_CHANNELS = 4;
    
        /**
         * Absolute maximum number of channels supported
         */
        public static final int ABSOLUTE_MAX_CHANNELS = 32;
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/CommonServerMessageBlock.java

         *
         * @param extendedSecurity true to enable extended security
         */
        void setExtendedSecurity(boolean extendedSecurity);
    
        /**
         * Sets the session ID.
         *
         * @param sessionId the session ID to set
         */
        void setSessionId(long sessionId);
    
        /**
         * Resets this message to its initial state.
         */
        void reset();
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/AuthenticationProvider.java

         * @throws CIFSException if authentication fails
         */
        byte[] authenticate(CIFSContext context, byte[] challenge) throws CIFSException;
    
        /**
         * Gets the session key after successful authentication
         *
         * @return the session key or null if not available
         */
        byte[] getSessionKey();
    
        /**
         * Gets the signing key for SMB2/3
         *
         * @return the signing key or null if not available
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 3.9K bytes
    - Viewed (1)
  8. docs/ru/docs/tutorial/sql-databases.md

    ### Создание зависимости Session { #create-a-session-dependency }
    
    **`Session`** хранит **объекты в памяти** и отслеживает необходимые изменения в данных, затем **использует `engine`** для общения с базой данных.
    
    Мы создадим **зависимость** FastAPI с `yield`, которая будет предоставлять новую `Session` для каждого запроса. Это и обеспечивает использование одной сессии на запрос. 🤓
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Thu Dec 11 21:25:03 UTC 2025
    - 23.6K bytes
    - Viewed (0)
  9. tests/scanner_valuer_test.go

    	}
    }
    
    func TestGORMValuer(t *testing.T) {
    	type UserWithPoint struct {
    		Name  string
    		Point Point
    	}
    
    	dryRunDB := DB.Session(&gorm.Session{DryRun: true})
    
    	stmt := dryRunDB.Create(&UserWithPoint{
    		Name:  "jinzhu",
    		Point: Point{X: 100, Y: 100},
    	}).Statement
    
    	if stmt.SQL.String() == "" || len(stmt.Vars) != 2 {
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Wed Jun 07 07:02:07 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  10. callbacks/preload.go

    						return err
    					}
    				default:
    					return gorm.ErrInvalidData
    				}
    			} else {
    				tx := db.Table("").Session(&gorm.Session{Context: db.Statement.Context, SkipHooks: db.Statement.SkipHooks})
    				tx.Statement.ReflectValue = db.Statement.ReflectValue
    				tx.Statement.Unscoped = db.Statement.Unscoped
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Sun May 25 07:40:40 UTC 2025
    - 11.7K bytes
    - Viewed (0)
Back to top