Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 307 for dependency_c (0.27 sec)

  1. docs_src/dependencies/tutorial008_an_py39.py

    from fastapi import Depends
    
    
    async def dependency_a():
        dep_a = generate_dep_a()
        try:
            yield dep_a
        finally:
            dep_a.close()
    
    
    async def dependency_b(dep_a: Annotated[DepA, Depends(dependency_a)]):
        dep_b = generate_dep_b()
        try:
            yield dep_b
        finally:
            dep_b.close(dep_a)
    
    
    async def dependency_c(dep_b: Annotated[DepB, Depends(dependency_b)]):
        dep_c = generate_dep_c()
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 521 bytes
    - Viewed (0)
  2. docs/em/docs/tutorial/dependencies/dependencies-with-yield.md

    **FastAPI** ๐Ÿ”œ โš’ ๐Ÿ’ญ ๐Ÿ‘ˆ "๐Ÿšช ๐Ÿ“Ÿ" ๐Ÿ”  ๐Ÿ”— โฎ๏ธ `yield` ๐Ÿƒ โ˜‘ โœ”.
    
    ๐Ÿ–ผ, `dependency_c` ๐Ÿ’ช โœ”๏ธ ๐Ÿ”— ๐Ÿ”› `dependency_b`, & `dependency_b` ๐Ÿ”› `dependency_a`:
    
    ```Python hl_lines="4  12  20"
    {!../../docs_src/dependencies/tutorial008.py!}
    ```
    
    & ๐ŸŒ ๐Ÿ‘ซ ๐Ÿ’ช โš™๏ธ `yield`.
    
    ๐Ÿ‘‰ ๐Ÿ’ผ `dependency_c`, ๐Ÿ› ๏ธ ๐Ÿšฎ ๐Ÿšช ๐Ÿ“Ÿ, ๐Ÿ’ช ๐Ÿ’ฒ โšช๏ธโžก๏ธ `dependency_b` (๐Ÿ“ฅ ๐Ÿ“› `dep_b`) ๐Ÿ’ช.
    
    & , ๐Ÿ”„, `dependency_b` ๐Ÿ’ช ๐Ÿ’ฒ โšช๏ธโžก๏ธ `dependency_a` (๐Ÿ“ฅ ๐Ÿ“› `dep_a`) ๐Ÿ’ช ๐Ÿšฎ ๐Ÿšช ๐Ÿ“Ÿ.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  3. docs_src/dependencies/tutorial008.py

    from fastapi import Depends
    
    
    async def dependency_a():
        dep_a = generate_dep_a()
        try:
            yield dep_a
        finally:
            dep_a.close()
    
    
    async def dependency_b(dep_a=Depends(dependency_a)):
        dep_b = generate_dep_b()
        try:
            yield dep_b
        finally:
            dep_b.close(dep_a)
    
    
    async def dependency_c(dep_b=Depends(dependency_b)):
        dep_c = generate_dep_c()
        try:
            yield dep_c
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Mar 26 19:09:53 UTC 2020
    - 455 bytes
    - Viewed (0)
  4. docs_src/dependencies/tutorial009.py

    from fastapi import Depends
    
    
    async def dependency_a():
        dep_a = generate_dep_a()
        try:
            yield dep_a
        finally:
            dep_a.close()
    
    
    async def dependency_b(dep_a=Depends(dependency_a)):
        dep_b = generate_dep_b()
        try:
            yield dep_b
        finally:
            dep_b.close(dep_a)
    
    
    async def dependency_c(dep_b=Depends(dependency_b)):
        dep_c = generate_dep_c()
        try:
            yield dep_c
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Mar 26 19:09:53 UTC 2020
    - 455 bytes
    - Viewed (0)
  5. docs_src/dependencies/tutorial008_an.py

    from typing_extensions import Annotated
    
    
    async def dependency_a():
        dep_a = generate_dep_a()
        try:
            yield dep_a
        finally:
            dep_a.close()
    
    
    async def dependency_b(dep_a: Annotated[DepA, Depends(dependency_a)]):
        dep_b = generate_dep_b()
        try:
            yield dep_b
        finally:
            dep_b.close(dep_a)
    
    
    async def dependency_c(dep_b: Annotated[DepB, Depends(dependency_b)]):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 531 bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/Dependency.java

     * The resolution will actually download the dependencies (or artifacts) that have been computed.
     *
     * @since 4.0.0
     */
    @Experimental
    @Immutable
    public interface Dependency extends Artifact {
        /**
         * {@return the type of the dependency}
         * A dependency can be a <abbr>JAR</abbr> file,
         * a modular-<abbr>JAR</abbr> if it is intended to be placed on the module-path,
         * a <abbr>JAR</abbr> containing test classes, <i>etc.</i>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Sat Sep 28 09:03:24 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  7. compat/maven-resolver-provider/src/test/resources/repo/ut/simple/dependency/1.0/dependency-1.0.pom

      <modelVersion>4.0.0</modelVersion>
    
      <groupId>ut.simple</groupId>
      <artifactId>dependency</artifactId>
      <version>1.0</version>
    
      <name>Simple Unit Test Dependency</name>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  8. compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/ArtifactResolutionExceptionTest.java

                    + " -Dversion=aVersion -Dclassifier=aClassifier -Dpackaging=jar -Dfile=/path/to/file"
                    + " -Durl=[url] -DrepositoryId=[id]" + LS + LS + "  Path to dependency: " + LS + "  \t1) dependency1"
                    + LS + "  \t2) dependency2" + LS + LS;
            String actual = AbstractArtifactResolutionException.constructMissingArtifactMessage(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  9. compat/maven-model-builder/src/test/resources/poms/validation/bad-plugin-dependency-version.xml

            <version>1.0</version>
            <dependencies>
              <dependency>
                <groupId>test</groupId>
                <artifactId>a</artifactId>
                <version>0.1</version>
              </dependency>
              <dependency>
                <groupId>test</groupId>
                <artifactId>b</artifactId>
                <version>${missing.property}</version>
              </dependency>
            </dependencies>
          </plugin>
        </plugins>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  10. compat/maven-resolver-provider/src/site/apt/dependency-types.apt

    ~~ KIND, either express or implied.  See the License for the
    ~~ specific language governing permissions and limitations
    ~~ under the License.
    
     ---
     Default Dependency Types
     ---
     Hervรฉ Boutemy
     ---
     2024-04-02
     ---
    
    Default Dependency Types Reference
    
      Defined in <<<DefaultTypeProvider>>>
      ({{{./apidocs/org/apache/maven/repository/internal/type/DefaultTypeProvider.html}javadoc}},
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.7K bytes
    - Viewed (0)
Back to top