Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,290 for use (0.12 sec)

  1. docs/en/docs/tutorial/dependencies/index.md

    It is designed to be very simple to use, and to make it very easy for any developer to integrate other components with **FastAPI**.
    
    ## What is "Dependency Injection"
    
    **"Dependency Injection"** means, in programming, that there is a way for your code (in this case, your *path operation functions*) to declare things that it requires to work and use: "dependencies".
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/request-forms.md

    # Form Data
    
    When you need to receive form fields instead of JSON, you can use `Form`.
    
    !!! info
        To use forms, first install <a href="https://github.com/Kludex/python-multipart" class="external-link" target="_blank">`python-multipart`</a>.
    
        E.g. `pip install python-multipart`.
    
    ## Import `Form`
    
    Import `Form` from `fastapi`:
    
    === "Python 3.9+"
    
        ```Python hl_lines="3"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Wed Mar 13 19:02:19 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/schema-extra-example.md

    !!! tip
        You could use the same technique to extend the JSON Schema and add your own custom extra info.
    
        For example you could use it to add metadata for a frontend user interface, etc.
    
    !!! info
        OpenAPI 3.1.0 (used since FastAPI 0.99.0) added support for `examples`, which is part of the **JSON Schema** standard.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 11.8K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/request-files.md

        ```
    
    === "Python 3.8+ non-Annotated"
    
        !!! tip
            Prefer to use the `Annotated` version if possible.
    
        ```Python hl_lines="12"
        {!> ../../../docs_src/request_files/tutorial001.py!}
        ```
    
    Using `UploadFile` has several advantages over `bytes`:
    
    * You don't have to use `File()` in the default value of the parameter.
    * It uses a "spooled" file:
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Wed Mar 13 19:02:19 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  5. common/config/.golangci.yml

                desc: "use istio.io/istio/pkg/slices"
              - pkg: k8s.io/utils/pointer
                desc: "use istio.io/istio/pkg/ptr"
              - pkg: go.opencensus.io
                desc: "do not use OpenCensus; use OpenTelemetry instead"
              - pkg: golang.org/x/exp/maps
                desc: "do not use golang.org/x/exp/maps; use istio.io/istio/pkg/maps instead"
              - pkg: maps
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Apr 22 19:22:39 GMT 2024
    - 11K bytes
    - Viewed (0)
  6. okhttp-tls/src/test/java/okhttp3/tls/HandshakeCertificatesTest.kt

        return executorService.submit<Handshake> {
          serverSocket!!.accept().use { rawSocket ->
            val sslSocket =
              server.sslSocketFactory().createSocket(
                rawSocket,
                rawSocket.inetAddress.hostAddress,
                rawSocket.port,
                true,
              ) as SSLSocket
            sslSocket.use {
              sslSocket.useClientMode = false
              sslSocket.wantClientAuth = true
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 11 22:09:35 GMT 2024
    - 7.1K bytes
    - Viewed (0)
  7. docs/en/docs/advanced/custom-response.md

    !!! note
        If you use a response class with no media type, FastAPI will expect your response to have no content, so it will not document the response format in its generated OpenAPI docs.
    
    ## Use `ORJSONResponse`
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ImmutableSortedSet.java

       *
       * @throws UnsupportedOperationException always
       * @deprecated Use {@link ImmutableSortedSet#toImmutableSortedSet}.
       * @since 21.0
       */
      @DoNotCall("Use toImmutableSortedSet")
      @Deprecated
      public static <E> Collector<E, ?, ImmutableSet<E>> toImmutableSet() {
        throw new UnsupportedOperationException();
      }
    
      /**
       * Not supported. Use {@link #naturalOrder}, which offers better type-safety, instead. This method
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 38.5K bytes
    - Viewed (0)
  9. licenses/cel.dev/expr/LICENSE

                               Version 2.0, January 2004
                            http://www.apache.org/licenses/
    
       TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
    
       1. Definitions.
    
          "License" shall mean the terms and conditions for use, reproduction,
          and distribution as defined by Sections 1 through 9 of this document.
    
          "Licensor" shall mean the copyright owner or entity authorized by
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Apr 08 17:05:56 GMT 2024
    - 11.1K bytes
    - Viewed (0)
  10. manifests/charts/istiod-remote/values.yaml

        traceSampling: 1.0
        # Resources for a small pilot install
        resources:
          requests:
            cpu: 500m
            memory: 2048Mi
        # Set to `type: RuntimeDefault` to use the default profile if available.
        seccompProfile: {}
        # Whether to use an existing CNI installation
        cni:
          enabled: false
          provider: default
        # Additional container arguments
        extraContainerArgs: []
        env: {}
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Apr 22 22:00:40 GMT 2024
    - 20.2K bytes
    - Viewed (0)
Back to top