Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 6,307 for session (0.06 sec)

  1. docs/em/docs/tutorial/sql-databases.md

    ///
    
    ### ✍ `SessionLocal` πŸŽ“
    
    πŸ”  πŸ‘ `SessionLocal` πŸŽ“ πŸ”œ πŸ’½ πŸŽ‰. πŸŽ“ ⚫️ 🚫 πŸ’½ πŸŽ‰.
    
    βœ‹οΈ πŸ• πŸ‘₯ ✍ πŸ‘ `SessionLocal` πŸŽ“, πŸ‘‰ πŸ‘ πŸ”œ β˜‘ πŸ’½ πŸŽ‰.
    
    πŸ‘₯ πŸ“› ⚫️ `SessionLocal` πŸ”¬ ⚫️ βšͺ️➑️ `Session` πŸ‘₯ 🏭 βšͺ️➑️ πŸ‡ΈπŸ‡².
    
    πŸ‘₯ πŸ”œ βš™οΈ `Session` (1️⃣ πŸ—„ βšͺ️➑️ πŸ‡ΈπŸ‡²) βͺ.
    
    ✍ `SessionLocal` πŸŽ“, βš™οΈ πŸ”’ `sessionmaker`:
    
    ```Python hl_lines="11"
    {!../../docs_src/sql_databases/sql_app/database.py!}
    ```
    
    ### ✍ `Base` πŸŽ“
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 25K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/search/SearchAction.java

            if (viewHelper.isUseSession()) {
                LaRequestUtil.getOptionalRequest().ifPresent(request -> {
                    final HttpSession session = request.getSession(false);
                    if (session != null && form.num != null) {
                        session.setAttribute(Constants.RESULTS_PER_PAGE, form.num);
                    }
                });
            }
            return doSearch(form);
        }
    
        @Execute
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/CrawlingInfoHelper.java

        public String getCanonicalSessionId(final String sessionId) {
            final int idx = sessionId.indexOf('-');
            if (idx >= 0) {
                return sessionId.substring(0, idx);
            }
            return sessionId;
        }
    
        public synchronized void store(final String sessionId, final boolean create) {
            CrawlingInfo crawlingInfo = create ? null : getCrawlingInfoService().getLast(sessionId);
            if (crawlingInfo == null) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  4. tests/transaction_test.go

    	if err := DB.First(&User{}, "name = ?", "transaction").Error; err == nil {
    		t.Fatalf("Should not find record after rollback, but got %v", err)
    	}
    
    	txDB := DB.Where("fake_name = ?", "fake_name")
    	tx2 := txDB.Session(&gorm.Session{NewDB: true}).Begin()
    	user2 := *GetUser("transaction-2", Config{})
    	if err := tx2.Save(&user2).Error; err != nil {
    		t.Fatalf("No error should raise, but got %v", err)
    	}
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Sat Sep 14 12:58:29 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  5. tests/scopes_test.go

    	}
    
    	db := DB.Scopes(func(tx *gorm.DB) *gorm.DB {
    		return tx.Table("custom_table")
    	}).Session(&gorm.Session{})
    
    	db.AutoMigrate(&User{})
    	if db.Find(&User{}).Statement.Table != "custom_table" {
    		t.Errorf("failed to call Scopes")
    	}
    
    	result := DB.Scopes(NameIn1And2, func(tx *gorm.DB) *gorm.DB {
    		return tx.Session(&gorm.Session{})
    	}).Find(&users1)
    
    	if result.RowsAffected != 2 {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Fri Jan 12 08:42:21 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  6. 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 Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Jun 07 07:02:07 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbTransportInternal.java

         */
        byte[] getServerEncryptionKey ();
    
    
        /**
         * @param ctx
         * @return session
         */
        SmbSession getSmbSession ( CIFSContext ctx );
    
    
        /**
         * @param tf
         * @param targetHost
         * @param targetDomain
         * @return session
         */
        SmbSession getSmbSession ( CIFSContext tf, String targetHost, String targetDomain );
    
    
        /**
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3K bytes
    - Viewed (0)
  8. tensorflow/c/c_api.h

    // during or after this call (and the session drops its reference to the
    // corresponding graph).
    TF_CAPI_EXPORT extern void TF_DeleteSession(TF_Session*, TF_Status* status);
    
    // Run the graph associated with the session starting with the supplied inputs
    // (inputs[0,ninputs-1] with corresponding values in input_values[0,ninputs-1]).
    //
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Oct 26 21:08:15 UTC 2023
    - 82.3K bytes
    - Viewed (0)
  9. fastapi/security/api_key.py

        from fastapi.security import APIKeyCookie
    
        app = FastAPI()
    
        cookie_scheme = APIKeyCookie(name="session")
    
    
        @app.get("/items/")
        async def read_items(session: str = Depends(cookie_scheme)):
            return {"session": session}
        ```
        """
    
        def __init__(
            self,
            *,
            name: Annotated[str, Doc("Cookie name.")],
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Apr 23 22:29:18 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/NtlmContext.java

        private static final String S2C_SIGN_CONSTANT = "session key to server-to-client signing key magic constant";
        private static final String S2C_SEAL_CONSTANT = "session key to server-to-client sealing key magic constant";
    
        private static final String C2S_SIGN_CONSTANT = "session key to client-to-server signing key magic constant";
        private static final String C2S_SEAL_CONSTANT = "session key to client-to-server sealing key magic constant";
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 12:07:20 UTC 2020
    - 15.7K bytes
    - Viewed (0)
Back to top