Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 846 for use (0.15 sec)

  1. docs/en/docs/tutorial/dependencies/classes-as-dependencies.md

        ```
    
    === "Python 3.10+ non-Annotated"
    
        !!! tip
            Prefer to use the `Annotated` version if possible.
    
        ```Python hl_lines="7"
        {!> ../../../docs_src/dependencies/tutorial001_py310.py!}
        ```
    
    === "Python 3.8+ non-Annotated"
    
        !!! tip
            Prefer to use the `Annotated` version if possible.
    
        ```Python hl_lines="11"
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 11.4K bytes
    - Viewed (0)
  2. docs/en/docs/advanced/settings.md

        If you want something quick to copy and paste, don't use this example, use the last one below.
    
    Then, when you create an instance of that `Settings` class (in this case, in the `settings` object), Pydantic will read the environment variables in a case-insensitive way, so, an upper-case variable `APP_NAME` will still be read for the attribute `app_name`.
    
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 15.7K bytes
    - Viewed (0)
  3. fastapi/dependencies/utils.py

            security_scopes.extend(dependency_scopes)
        if isinstance(dependency, SecurityBase):
            use_scopes: List[str] = []
            if isinstance(dependency, (OAuth2, OpenIdConnect)):
                use_scopes = security_scopes
            security_requirement = SecurityRequirement(
                security_scheme=dependency, scopes=use_scopes
            )
        sub_dependant = get_dependant(
            path=path,
            call=dependency,
    Python
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 02:52:56 GMT 2024
    - 29.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ImmutableSortedMultiset.java

        throw new InvalidObjectException("Use SerializedForm");
      }
    
      /**
       * Not supported. Use {@link #toImmutableSortedMultiset} instead. This method exists only to hide
       * {@link ImmutableMultiset#toImmutableMultiset} from consumers of {@code
       * ImmutableSortedMultiset}.
       *
       * @throws UnsupportedOperationException always
       * @deprecated Use {@link ImmutableSortedMultiset#toImmutableSortedMultiset}.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 35.3K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/sql-databases.md

        The new docs will include Pydantic v2 and will use <a href="https://sqlmodel.tiangolo.com/" class="external-link" target="_blank">SQLModel</a> (which is also based on SQLAlchemy) once it is updated to use Pydantic v2 as well.
    
    **FastAPI** doesn't require you to use a SQL (relational) database.
    
    But you can use any relational database that you want.
    
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 29.6K bytes
    - Viewed (0)
  6. docs/en/docs/advanced/events.md

    ## Use Case
    
    Let's start with an example **use case** and then see how to solve it with this.
    
    Let's imagine that you have some **machine learning models** that you want to use to handle requests. 🤖
    
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 7.8K bytes
    - Viewed (0)
  7. 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 Apr 24 22:53:08 GMT 2024
    - Last Modified: Mon Apr 22 19:22:39 GMT 2024
    - 11K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/Function.java

     *
     * <p>See the Guava User Guide article on <a
     * href="https://github.com/google/guava/wiki/FunctionalExplained">the use of {@code Function}</a>.
     *
     * <h3>For Java 8+ users</h3>
     *
     * <p>This interface is now a legacy type. Use {@code java.util.function.Function} (or the
     * appropriate primitive specialization such as {@code ToIntFunction}) instead whenever possible.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 24 01:41:50 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  9. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultProfileActivationContext.java

     * distributed with this work for additional information
     * regarding copyright ownership.  The ASF licenses this file
     * to you under the Apache License, Version 2.0 (the
     * "License"); you may not use this file except in compliance
     * with the License.  You may obtain a copy of the License at
     *
     *   http://www.apache.org/licenses/LICENSE-2.0
     *
     * Unless required by applicable law or agreed to in writing,
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  10. docs/en/docs/how-to/configure-swagger-ui.md

        SwaggerUIBundle.SwaggerUIStandalonePreset
    ]
    ```
    
    These are **JavaScript** objects, not strings, so you can't pass them from Python code directly.
    
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 2.8K bytes
    - Viewed (0)
Back to top