Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 585 for Depends (0.07 sec)

  1. tests/test_include_router_defaults_overrides.py

    import warnings
    
    import pytest
    from fastapi import APIRouter, Depends, FastAPI, Response
    from fastapi.responses import JSONResponse
    from fastapi.testclient import TestClient
    
    
    class ResponseLevel0(JSONResponse):
        media_type = "application/x-level-0"
    
    
    class ResponseLevel1(JSONResponse):
        media_type = "application/x-level-1"
    
    
    class ResponseLevel2(JSONResponse):
        media_type = "application/x-level-2"
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 358.6K bytes
    - Viewed (0)
  2. compat/maven-artifact/src/main/java/org/apache/maven/artifact/handler/ArtifactHandler.java

        String getLanguage();
    
        /**
         * Specifies if the artifact contains java classes and can be added to the classpath.
         * Whether the artifact should be added to the classpath depends on other
         * dependency properties.
         *
         * @return if the artifact can be added to the class path
         *
         * @deprecated A value of {@code true} does not mean that the dependency should
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/security/first-steps.md

    It could be called as:
    
    ```Python
    oauth2_scheme(some, parameters)
    ```
    
    So, it can be used with `Depends`.
    
    ### Use it
    
    Now you can pass that `oauth2_scheme` in a dependency with `Depends`.
    
    //// tab | Python 3.9+
    
    ```Python hl_lines="12"
    {!> ../../docs_src/security/tutorial001_an_py39.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/execution/ProjectDependencyGraph.java

         */
        List<MavenProject> getSortedProjects();
    
        /**
         * Gets the downstream projects of the specified project. A downstream project is a project that directly or
         * indirectly depends on the given project.
         *
         * @param project The project whose downstream projects should be retrieved, must not be {@code null}.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  5. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/artifact/MavenArtifactProperties.java

         * consumer project.
         * <p>
         * Note: This property is about "build path", whatever it means in the scope of the consumer project. It is NOT
         * about Java classpath or anything alike. How artifact is being consumed depends heavily on the consumer project.
         * Resolver is and will remain agnostic of consumer project use cases.
         */
        public static final String CONSTITUTES_BUILD_PATH = "constitutesBuildPath";
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/io/CharSinkTest.java

          TestCharSink okSink = new TestCharSink();
          assertThrows(IOException.class, () -> failSource.copyTo(okSink));
          // ensure writer was closed IF it was opened (depends on implementation whether or not it's
          // opened at all if source.newReader() throws).
          assertTrue(
              "stream not closed when copying from source with option: " + option,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  7. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/SettingsProblem.java

         */
        enum Severity {
            FATAL, //
            ERROR, //
            WARNING //
        }
    
        /**
         * Gets the hint about the source of the problem. While the syntax of this hint is unspecified and depends on the
         * creator of the problem, the general expectation is that the hint provides sufficient information to the user to
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  8. src/cmd/addr2line/addr2line_test.go

    		t.Fatalf("addr2line_test.go and %s are not same file", srcPath)
    	}
    	if want := "102"; srcLineNo != want {
    		t.Fatalf("line number = %v; want %s", srcLineNo, want)
    	}
    }
    
    // This is line 101. The test depends on that.
    func TestAddr2Line(t *testing.T) {
    	testenv.MustHaveGoBuild(t)
    
    	tmpDir := t.TempDir()
    
    	// Build copy of test binary with debug symbols,
    	// since the one running now may not have them.
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Sep 06 13:23:48 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  9. compat/maven-builder-support/src/main/java/org/apache/maven/building/Problem.java

         */
        enum Severity {
            FATAL, //
            ERROR, //
            WARNING //
        }
    
        /**
         * Gets the hint about the source of the problem. While the syntax of this hint is unspecified and depends on the
         * creator of the problem, the general expectation is that the hint provides sufficient information to the user to
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/TablesTransformValuesTest.java

          table.put((String) data[i], (Integer) data[i + 1], value);
        }
        return transformValues(table, FIRST_CHARACTER);
      }
    
      // Null support depends on the underlying table and function.
      @J2ktIncompatible
      @GwtIncompatible // NullPointerTester
      @Override
      public void testNullPointerInstance() {}
    
      // put() and putAll() aren't supported.
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.1K bytes
    - Viewed (0)
Back to top