Search Options

Results per page
Sort
Preferred Languages
Advance

Results 401 - 410 of 645 for dependentes (0.07 sec)

  1. tests/test_param_in_path_and_dependency.py

    from fastapi import Depends, FastAPI
    from fastapi.testclient import TestClient
    
    app = FastAPI()
    
    
    async def user_exists(user_id: int):
        return True
    
    
    @app.get("/users/{user_id}", dependencies=[Depends(user_exists)])
    async def read_users(user_id: int):
        pass
    
    
    client = TestClient(app)
    
    
    def test_read_users():
        response = client.get("/users/42")
        assert response.status_code == 200, response.text
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  2. compat/maven-model/pom.xml

        <relativePath>../../</relativePath>
      </parent>
    
      <artifactId>maven-model</artifactId>
    
      <name>Maven Model</name>
      <description>Model for Maven POM (Project Object Model)</description>
    
      <dependencies>
        <dependency>
          <groupId>org.apache.maven</groupId>
          <artifactId>maven-api-model</artifactId>
        </dependency>
        <dependency>
          <groupId>org.apache.maven</groupId>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  3. CHANGELOG/CHANGELOG-1.17.md

        - [Node binaries](#node-binaries)
      - [Changelog since v1.17.16](#changelog-since-v11716)
      - [Changes by Kind](#changes-by-kind)
        - [Bug or Regression](#bug-or-regression)
      - [Dependencies](#dependencies)
        - [Added](#added)
        - [Changed](#changed)
        - [Removed](#removed)
    - [v1.17.16](#v11716)
      - [Downloads for v1.17.16](#downloads-for-v11716)
        - [Source Code](#source-code-1)
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Thu Jan 28 10:44:33 UTC 2021
    - 346.2K bytes
    - Viewed (1)
  4. CHANGELOG/CHANGELOG-1.29.md

      - [Changes by Kind](#changes-by-kind)
        - [Feature](#feature)
        - [Bug or Regression](#bug-or-regression)
        - [Other (Cleanup or Flake)](#other-cleanup-or-flake)
      - [Dependencies](#dependencies)
        - [Added](#added)
        - [Changed](#changed)
        - [Removed](#removed)
    - [v1.29.9](#v1299)
      - [Downloads for v1.29.9](#downloads-for-v1299)
        - [Source Code](#source-code-1)
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Wed Oct 23 04:37:31 UTC 2024
    - 375.1K bytes
    - Viewed (1)
  5. WORKSPACE

        url = "https://github.com/bazelbuild/rules_java/releases/download/5.3.5/rules_java-5.3.5.tar.gz",
    )
    
    # Initialize the TensorFlow repository and all dependencies.
    #
    # The cascade of load() statements and tf_workspace?() calls works around the
    # restriction that load() statements need to be at the top of .bzl files.
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Fri Oct 11 16:49:28 UTC 2024
    - 3K bytes
    - Viewed (0)
  6. fastapi/dependencies/models.py

        header_params: List[ModelField] = field(default_factory=list)
        cookie_params: List[ModelField] = field(default_factory=list)
        body_params: List[ModelField] = field(default_factory=list)
        dependencies: List["Dependant"] = field(default_factory=list)
        security_requirements: List[SecurityRequirement] = field(default_factory=list)
        name: Optional[str] = None
        call: Optional[Callable[..., Any]] = None
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Aug 31 20:19:30 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  7. compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/ArtifactResolverTest.java

                        ArtifactRepository localRepository,
                        List<ArtifactRepository> remoteRepositories) {
                    Set<Artifact> dependencies = new HashSet<>();
    
                    return new ResolutionGroup(artifact, dependencies, remoteRepositories);
                }
    
                @Override
                public List<ArtifactVersion> retrieveAvailableVersions(
                        Artifact artifact,
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  8. native-image-tests/build.gradle.kts

    import org.apache.tools.ant.taskdefs.condition.Os
    
    plugins {
      id("com.palantir.graal")
      kotlin("jvm")
    }
    
    dependencies {
      implementation(libs.junit.jupiter.api)
      implementation(libs.junit.jupiter.engine)
      implementation(libs.junit.platform.console)
      implementation(libs.squareup.okio.fakefilesystem)
    
      implementation(projects.okhttp)
      implementation(projects.okhttpBrotli)
      implementation(projects.okhttpDnsoverhttps)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 06 05:31:00 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  9. docs/en/docs/advanced/response-change-status-code.md

    *temporal* response to extract the status code (also cookies and headers), and will put them in the final response that contains the value you returned, filtered by any `response_model`.
    
    You can also declare the `Response` parameter in dependencies, and set the status code in them. But keep in mind that the last one to be set will win....
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  10. compat/maven-model-builder/src/test/java/org/apache/maven/model/interpolation/AbstractModelInterpolatorTest.java

        }
    
        @Test
        public void shouldInterpolateDependencyVersionToSetSameAsProjectVersion() throws Exception {
            Model model = Model.newBuilder()
                    .version("3.8.1")
                    .dependencies(Collections.singletonList(
                            Dependency.newBuilder().version("${project.version}").build()))
                    .build();
    
            ModelInterpolator interpolator = createInterpolator();
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 22.2K bytes
    - Viewed (0)
Back to top