Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 65 for injecting (0.04 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. api/maven-api-di/pom.xml

        <artifactId>maven-api</artifactId>
        <version>4.1.0-SNAPSHOT</version>
      </parent>
    
      <artifactId>maven-api-di</artifactId>
      <name>Maven 4 API :: Dependency Injection</name>
      <description>Maven 4 API - Dependency Injection</description>
    
      <properties>
        <maven.compiler.proc>none</maven.compiler.proc>
      </properties>
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sun Jun 29 22:37:39 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/RelatedQueryHelper.java

         */
        public RelatedQueryHelper() {
            super();
        }
    
        /**
         * Initializes the RelatedQueryHelper after dependency injection is complete.
         * This method is called automatically by the dependency injection framework
         * and loads the initial related query configurations.
         */
        @PostConstruct
        public void init() {
            if (logger.isDebugEnabled()) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  8. 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)
  9. src/main/java/org/codelibs/fess/crawler/transformer/FessFileTransformer.java

            super();
        }
    
        /** Logger instance for this class */
        private static final Logger logger = LogManager.getLogger(FessFileTransformer.class);
    
        /**
         * Initializes the transformer after dependency injection.
         * Sets up the Fess configuration and data serializer components.
         */
        @PostConstruct
        public void init() {
            if (logger.isDebugEnabled()) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/dict/stemmeroverride/StemmerOverrideCreator.java

        }
    
        /**
         * Registers this creator with the dictionary manager upon initialization.
         * This method is annotated with {@link PostConstruct} to be executed after
         * dependency injection is complete.
         */
        @PostConstruct
        public void register() {
            if (logger.isInfoEnabled()) {
                logger.info("Load {}", this.getClass().getSimpleName());
            }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.6K bytes
    - Viewed (0)
Back to top