Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 41 for injecting (0.06 sec)

  1. docs/en/docs/tutorial/dependencies/index.md

    It is designed to be very simple to use, and to make it very easy for any developer to integrate other components with **FastAPI**.
    
    ## What is "Dependency Injection" { #what-is-dependency-injection }
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/create/Smb2CreateResponseTest.java

            // To keep this helper simple, return base and let the caller append/pad and inject ctx.
            return base;
        }
    
        /**
         * Build a full SMB2 packet combining header and provided body, optionally injecting context bytes.
         */
        private static byte[] buildPacket(byte[] header, byte[] body, Integer ctxOffsetFromHeader, byte[] ctxBytes) {
            int totalLen;
            if (ctxOffsetFromHeader != null && ctxBytes != null) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  3. cmd/object-handlers_test.go

    			// Set decoded length to a large value out of int64 range to simulate parse failure.
    			req.Header.Set("x-amz-decoded-content-length", "9999999999999999999999")
    		}
    
    		if err != nil {
    			t.Fatalf("Error injecting faults into the request: <ERROR> %v.", err)
    		}
    
    		// Since `apiRouter` satisfies `http.Handler` it has a ServeHTTP to execute the logic of the handler.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 163.1K bytes
    - Viewed (0)
  4. docs/en/docs/alternatives.md

    It achieves something somewhat similar to what can be done with Flask-apispec.
    
    It has an integrated dependency injection system, inspired by Angular 2. It requires pre-registering the "injectables" (like all the other dependency injection systems I know), so, it adds to the verbosity and code repetition.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 23.6K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/security/get-current-user.md

    ## Code size { #code-size }
    
    This example might seem verbose. Keep in mind that we are mixing security, data models, utility functions and *path operations* in the same file.
    
    But here's the key point.
    
    The security and dependency injection stuff is written once.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 4K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/background-tasks.md

    * Any keyword arguments that should be passed to the task function (`message="some notification"`).
    
    ## Dependency Injection { #dependency-injection }
    
    Using `BackgroundTasks` also works with the dependency injection system, you can declare a parameter of type `BackgroundTasks` at multiple levels: in a *path operation function*, in a dependency (dependable), in a sub-dependency, etc.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  7. docs/en/docs/features.md

    ### Dependency Injection { #dependency-injection }
    
    FastAPI includes an extremely easy to use, but extremely powerful <abbr title='also known as "components", "resources", "services", "providers"'><strong>Dependency Injection</strong></abbr> system.
    
    * Even dependencies can have dependencies, creating a hierarchy or **"graph" of dependencies**.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  8. RELEASE.md

            fallback to 1.x behavior.
    *   TensorFlow Lite
        *   Move from `tensorflow/contrib/lite` to `tensorflow/lite`.
        *   Add experimental Java API for injecting TensorFlow Lite delegates
        *   Add support for strings in TensorFlow Lite Java API.
    *   `tf.contrib`:
        *   Add Apache Ignite Filesystem plugin to support accessing Apache IGFS.
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Mon Aug 18 20:54:38 UTC 2025
    - 740K bytes
    - Viewed (1)
  9. src/main/java/org/codelibs/fess/exception/ContainerNotAvailableException.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.exception;
    
    /**
     * Exception thrown when a dependency injection container or component is not available.
     * This exception indicates that the required container or a specific component within it cannot be accessed.
     */
    public class ContainerNotAvailableException extends FessSystemException {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/dependencies/sub-dependencies.md

    async def needy_dependency(fresh_value: str = Depends(get_value, use_cache=False)):
        return {"fresh_value": fresh_value}
    ```
    
    ////
    
    ## Recap { #recap }
    
    Apart from all the fancy words used here, the **Dependency Injection** system is quite simple.
    
    Just functions that look the same as the *path operation functions*.
    
    But still, it is very powerful, and allows you to declare arbitrarily deeply nested dependency "graphs" (trees).
    
    /// tip
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 3.7K bytes
    - Viewed (0)
Back to top