Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 458 for Dependency (0.2 sec)

  1. docs/en/docs/tutorial/dependencies/classes-as-dependencies.md

    # Classes as Dependencies
    
    Before diving deeper into the **Dependency Injection** system, let's upgrade the previous example.
    
    ## A `dict` from the previous example
    
    In the previous example, we were returning a `dict` from our dependency ("dependable"):
    
    //// tab | Python 3.10+
    
    ```Python hl_lines="9"
    {!> ../../docs_src/dependencies/tutorial001_an_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.9+
    
    ```Python hl_lines="11"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  2. fastapi/security/http.py

    
    class HTTPBasic(HTTPBase):
        """
        HTTP Basic authentication.
    
        ## Usage
    
        Create an instance object and use that object as the dependency in `Depends()`.
    
        The dependency result will be an `HTTPBasicCredentials` object containing the
        `username` and the `password`.
    
        Read more about it in the
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Sep 19 09:47:28 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  3. compat/maven-embedder/src/examples/simple-project/pom.xml

      <version>1.0-SNAPSHOT</version>
      <name>simple-project</name>
      <url>http://maven.apache.org</url>
      <dependencies>
        <dependency>
          <groupId>junit</groupId>
          <artifactId>junit</artifactId>
          <version>4.13.1</version>
          <scope>test</scope>
        </dependency>
      </dependencies>
      <properties>
        <environment>development</environment>
      </properties>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md

    # Dependencies in path operation decorators
    
    In some cases you don't really need the return value of a dependency inside your *path operation function*.
    
    Or the dependency doesn't return a value.
    
    But you still need it to be executed/solved.
    
    For those cases, instead of declaring a *path operation function* parameter with `Depends`, you can add a `list` of `dependencies` to the *path operation decorator*.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 4K bytes
    - Viewed (0)
  5. api/maven-api-cli/pom.xml

      <description>Maven 4 API - CLI.</description>
    
      <dependencies>
        <dependency>
          <groupId>org.apache.maven</groupId>
          <artifactId>maven-api-meta</artifactId>
        </dependency>
        <dependency>
          <groupId>org.apache.maven</groupId>
          <artifactId>maven-api-core</artifactId>
        </dependency>
      </dependencies>
    
      <build>
        <plugins>
          <plugin>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Sat Oct 19 18:11:20 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  6. compat/maven-model/src/test/resources/xml/pom.xml

      <dependencies>
        <dependency>
          <groupId>org.apache.maven</groupId>
          <artifactId>maven-api-model</artifactId>
          <version>4.0.0-alpha-1-SNAPSHOT</version>
        </dependency>
        <dependency>
          <groupId>org.apache.maven</groupId>
          <artifactId>maven-xml</artifactId>
          <version>4.0.0-alpha-1-SNAPSHOT</version>
        </dependency>
      </dependencies>
    
      <build>
        <plugins>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  7. compat/maven-compat/src/test/projects/project-dependencies-resolver/it0063/pom.xml

      <description>Test the use of a system scoped dependency to a (fake) tools.jar.</description>
    
      <dependencies>
        <dependency>
          <groupId>com.sun</groupId>
          <artifactId>tools</artifactId>
          <version>1.4.2</version>
          <scope>system</scope>
          <systemPath>${jre.home}/../lib/tools.jar</systemPath>
        </dependency>
      </dependencies>
    
      <build>
        <plugins>
          <plugin>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  8. docs/en/docs/advanced/settings.md

    ///
    
    ## Settings in a dependency
    
    In some occasions it might be useful to provide the settings from a dependency, instead of having a global object with `settings` that is used everywhere.
    
    This could be especially useful during testing, as it's very easy to override a dependency with your own custom settings.
    
    ### The config file
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  9. api/maven-api-xml/pom.xml

      <artifactId>maven-api-xml</artifactId>
      <name>Maven 4 API :: XML</name>
      <description>Maven 4 API - Immutable XML.</description>
    
      <dependencies>
        <dependency>
          <groupId>org.apache.maven</groupId>
          <artifactId>maven-api-meta</artifactId>
        </dependency>
      </dependencies>
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Sat Oct 19 18:11:20 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  10. api/maven-api-di/pom.xml

        <artifactId>maven-api</artifactId>
        <version>4.0.0-beta-6-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 Nov 03 03:35:11 UTC 2024
    - Last Modified: Sat Oct 19 18:11:20 UTC 2024
    - 1.4K bytes
    - Viewed (0)
Back to top