Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 163 for won (0.21 sec)

  1. docs/en/docs/tutorial/path-params-numeric-validations.md

        ```Python hl_lines="7"
        {!> ../../../docs_src/path_params_numeric_validations/tutorial002.py!}
        ```
    
    But keep in mind that if you use `Annotated`, you won't have this problem, it won't matter as you're not using the function parameter default values for `Query()` or `Path()`.
    
    === "Python 3.9+"
    
        ```Python hl_lines="10"
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Jan 11 16:31:18 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  2. common/config/.golangci-format.yml

      goimports:
        # put imports beginning with prefix after 3rd-party packages;
        # it's a comma-separated list of prefixes
        local-prefixes: istio.io/
    issues:
      # Which dirs to exclude: issues from them won't be reported.
      # Can use regexp here: `generated.*`, regexp is applied on full path,
      # including the path prefix if one is set.
      # Default dirs are skipped independently of this option's value (see exclude-dirs-use-default).
    Others
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Apr 05 03:02:37 GMT 2024
    - 2K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/connection/FastFallbackExchangeFinder.kt

            }
    
            if (connectResult.isSuccess) {
              // We have a connected TCP connection. Cancel and defer the racing connects that all lost.
              cancelInFlightConnects()
    
              // Finish connecting. We won't have to if the winner is from the connection pool.
              if (!connectResult.plan.isReady) {
                connectResult = connectResult.plan.connectTlsEtc()
              }
    
              if (connectResult.isSuccess) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/MutableClassToInstanceMapTest.java

         */
        map.put(Integer.class, new Integer(5));
        assertThrows(ClassCastException.class, () -> map.put(Double.class, new Long(42)));
        // Won't compile: map.put(String.class, "x");
      }
    
      public void testPutAndGetInstance() {
        assertNull(map.putInstance(Integer.class, new Integer(5)));
    
        Integer oldValue = map.putInstance(Integer.class, new Integer(7));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/MutableClassToInstanceMapTest.java

         */
        map.put(Integer.class, new Integer(5));
        assertThrows(ClassCastException.class, () -> map.put(Double.class, new Long(42)));
        // Won't compile: map.put(String.class, "x");
      }
    
      public void testPutAndGetInstance() {
        assertNull(map.putInstance(Integer.class, new Integer(5)));
    
        Integer oldValue = map.putInstance(Integer.class, new Integer(7));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  6. docs/en/docs/advanced/behind-a-proxy.md

    Keep in mind that the server (Uvicorn) won't use that `root_path` for anything else than passing it to the app.
    
    But if you go with your browser to <a href="http://127.0.0.1:8000" class="external-link" target="_blank">http://127.0.0.1:8000/app</a> you will see the normal response:
    
    ```JSON
    {
        "message": "Hello World",
        "root_path": "/api/v1"
    }
    ```
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 11.6K bytes
    - Viewed (2)
  7. docs/en/docs/tutorial/static-files.md

    This is different from using an `APIRouter` as a mounted application is completely independent. The OpenAPI and docs from your main application won't include anything from the mounted application, etc.
    
    You can read more about this in the [Advanced User Guide](../advanced/index.md){.internal-link target=_blank}.
    
    ## Details
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Jan 11 19:56:09 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  8. docs/en/docs/advanced/path-operation-advanced-configuration.md

    You can limit the lines used from the docstring of a *path operation function* for OpenAPI.
    
    Adding an `\f` (an escaped "form feed" character) causes **FastAPI** to truncate the output used for OpenAPI at this point.
    
    It won't show up in the documentation, but other tools (such as Sphinx) will be able to use the rest.
    
    ```Python hl_lines="19-29"
    {!../../../docs_src/path_operation_advanced_configuration/tutorial004.py!}
    ```
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  9. docs/en/docs/advanced/custom-response.md

    ```Python hl_lines="2  7  19"
    {!../../../docs_src/custom_response/tutorial003.py!}
    ```
    
    !!! warning
        A `Response` returned directly by your *path operation function* won't be documented in OpenAPI (for example, the `Content-Type` won't be documented) and won't be visible in the automatic interactive docs.
    
    !!! info
        Of course, the actual `Content-Type` header, status code, etc, will come from the `Response` object you returned.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  10. .teamcity/src/main/kotlin/configurations/FlakyTestQuarantine.kt

        }.flatMap { it.functionalTests }.filter { it.os == os }
    
        if (os == Os.LINUX) {
            steps {
                script {
                    // Because we exclude tests in `distributions-integ-tests` below, `@Flaky` won't work in that subproject.
                    // Here we check the existence of `@Flaky` annotation to make sure nobody use that annotation in `distributions-integ-tests` subproject.
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Apr 24 08:17:56 GMT 2024
    - 3.4K bytes
    - Viewed (0)
Back to top