Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 381 - 390 of 772 for CSession (0.1 seconds)

  1. 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)
  2. 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)
  3. 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.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Dec 02 17:32:56 GMT 2025
    - 10.4K bytes
    - Click Count (0)
  4. 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;
    
        /**
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 21 11:13:46 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  5. 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;
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 3.5K bytes
    - Click Count (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();
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3.4K bytes
    - Click Count (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
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 3.9K bytes
    - Click Count (1)
  8. src/main/java/jcifs/smb/SSPContext.java

     * operations during SMB authentication.
     *
     * @author mbechler
     */
    public interface SSPContext {
    
        /**
         * Gets the signing key for the session.
         * @return the signing key for the session
         * @throws CIFSException if an error occurs retrieving the signing key
         */
        byte[] getSigningKey() throws CIFSException;
    
        /**
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  9. docs/ru/docs/tutorial/sql-databases.md

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

    from fastapi import FastAPI, Response
    
    app = FastAPI()
    
    
    @app.post("/cookie-and-object/")
    def create_cookie(response: Response):
        response.set_cookie(key="fakesession", value="fake-cookie-session-value")
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 272 bytes
    - Click Count (0)
Back to Top