Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 649 for escopo (0.04 sec)

  1. docs/pt/docs/advanced/advanced-dependencies.md

    ### Dependências com `yield` e `scope` { #dependencies-with-yield-and-scope }
    
    Na versão 0.121.0, o FastAPI adicionou suporte a `Depends(scope="function")` para dependências com `yield`.
    
    Usando `Depends(scope="function")`, o código de saída após o `yield` é executado logo depois que a *função de operação de rota* termina, antes de a response ser enviada de volta ao cliente.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 20:32:40 UTC 2025
    - 10K bytes
    - Viewed (0)
  2. impl/maven-core/src/test/projects/project-builder/MNG-7648/pom.xml

                <dependency>
                    <groupId>org.apache.maven.its</groupId>
                    <artifactId>bom</artifactId>
                    <version>0.1</version>
                    <type>pom</type>
                    <scope>import</scope>
                </dependency>
            </dependencies>
        </dependencyManagement>
    
        <dependencies>
            <dependency>
                <groupId>org.apache.maven.its</groupId>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_python_types/test_tutorial009c.py

        with patch("builtins.print") as mock_print:
            module.say_hi("FastAPI")
    
        mock_print.assert_called_once_with("Hey FastAPI!")
    
        with pytest.raises(
            TypeError,
            match=re.escape("say_hi() missing 1 required positional argument: 'name'"),
        ):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 777 bytes
    - Viewed (0)
  4. docs/en/docs/advanced/advanced-dependencies.md

    ### Dependencies with `yield` and `scope` { #dependencies-with-yield-and-scope }
    
    In version 0.121.0, FastAPI added support for `Depends(scope="function")` for dependencies with `yield`.
    
    Using `Depends(scope="function")`, the exit code after `yield` is executed right after the *path operation function* is finished, before the response is sent back to the client.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Thu Nov 13 07:37:15 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  5. compat/maven-compat/src/test/resources/inheritance-repo/t08/p0/p1/pom.xml

            <version>1.0</version>
          </dependency>
          <dependency>
            <groupId>maven-test</groupId>
            <artifactId>t08-d</artifactId>
            <version>1.0</version>
            <scope>test</scope>
            <optional>true</optional>
          </dependency>
        </dependencies>
      </dependencyManagement>
      <dependencies>
        <dependency>
          <groupId>maven-test</groupId>
          <artifactId>t08-a</artifactId>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  6. tests/test_route_scope.py

    
    @app.get("/users/{user_id}")
    async def get_user(user_id: str, request: Request):
        route: APIRoute = request.scope["route"]
        return {"user_id": user_id, "path": route.path}
    
    
    @app.websocket("/items/{item_id}")
    async def websocket_item(item_id: str, websocket: WebSocket):
        route: APIWebSocketRoute = websocket.scope["route"]
        await websocket.accept()
        await websocket.send_json({"item_id": item_id, "path": route.path})
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Sep 29 03:29:38 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomBuilder.java

            String scopeId = dependency.getScope();
            DependencyScope scope;
            if (scopeId == null || scopeId.isEmpty()) {
                scope = DependencyScope.COMPILE;
            } else {
                scope = DependencyScope.forId(scopeId);
            }
            return scope == null || !scope.isTransitive();
        }
    
        private Dependency merge(Dependency dep1, Dependency dep2) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Nov 27 07:40:26 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  8. impl/maven-core/src/test/projects/project-builder/it0063/pom.xml

      <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>
            <groupId>org.apache.maven.its.plugins</groupId>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/plugin/annotations/After.java

        /**
         * The phase name.
         */
        String phase();
    
        /**
         * The type of this pointer.
         */
        Type type();
    
        /**
         * The scope for dependencies, only if {@code type() == Type.Dependencies}.
         */
        String scope() default "";
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Aug 29 05:48:54 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/PlexusContainerCapsuleFactory.java

    import org.apache.maven.execution.scope.internal.MojoExecutionScope;
    import org.apache.maven.execution.scope.internal.MojoExecutionScopeModule;
    import org.apache.maven.extension.internal.CoreExports;
    import org.apache.maven.extension.internal.CoreExtensionEntry;
    import org.apache.maven.internal.impl.DefaultLookup;
    import org.apache.maven.session.scope.internal.SessionScope;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Jul 03 14:18:26 UTC 2025
    - 14.3K bytes
    - Viewed (0)
Back to top