Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 37 for Appendable (0.1 sec)

  1. compat/maven-embedder/src/main/java/org/fusesource/jansi/Ansi.java

     * with maven-shared-utils, while Maven has migrated to JLine (into which Jansi has been merged
     * since JLine 3.25.0).
     */
    @SuppressWarnings("unused")
    public class Ansi implements Appendable {
    
        private static final char FIRST_ESC_CHAR = 27;
        private static final char SECOND_ESC_CHAR = '[';
    
        /**
         * <a href="https://en.wikipedia.org/wiki/ANSI_escape_code#Colors">ANSI 8 colors</a> for fluent API
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

      }
    
      public <T extends Readable & Appendable> void testMultiBound() {
        assertAssignable(new TypeToken<List<T>>() {}, new TypeToken<List<? extends Readable>>() {});
        assertAssignable(new TypeToken<List<T>>() {}, new TypeToken<List<? extends Appendable>>() {});
      }
    
      public void testToGenericType() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 21:13:09 UTC 2024
    - 89.1K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

      }
    
      public <T extends Readable & Appendable> void testMultiBound() {
        assertAssignable(new TypeToken<List<T>>() {}, new TypeToken<List<? extends Readable>>() {});
        assertAssignable(new TypeToken<List<T>>() {}, new TypeToken<List<? extends Appendable>>() {});
      }
    
      public void testToGenericType() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 21:13:09 UTC 2024
    - 89.1K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/dependencies/sub-dependencies.md

    You can create dependencies that have **sub-dependencies**.
    
    They can be as **deep** as you need them to be.
    
    **FastAPI** will take care of solving them.
    
    ## First dependency "dependable"
    
    You could create a first dependency ("dependable") like:
    
    //// tab | Python 3.10+
    
    ```Python hl_lines="8-9"
    {!> ../../docs_src/dependencies/tutorial005_an_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.9+
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  5. docs/de/docs/tutorial/dependencies/sub-dependencies.md

    Diese können so **tief** verschachtelt sein, wie nötig.
    
    **FastAPI** kümmert sich darum, sie aufzulösen.
    
    ## Erste Abhängigkeit, „Dependable“
    
    Sie könnten eine erste Abhängigkeit („Dependable“) wie folgt erstellen:
    
    //// tab | Python 3.10+
    
    ```Python hl_lines="8-9"
    {!> ../../docs_src/dependencies/tutorial005_an_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.9+
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  6. docs/en/docs/reference/security/index.md

    # Security Tools
    
    When you need to declare dependencies with OAuth2 scopes you use `Security()`.
    
    But you still need to define what is the dependable, the callable that you pass as a parameter to `Depends()` or `Security()`.
    
    There are multiple tools that you can use to create those dependables, and they get integrated into OpenAPI so they are shown in the automatic docs UI, they can be used by automatically generated clients and SDKs, etc.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/dependencies/index.md

    ## First Steps
    
    Let's see a very simple example. It will be so simple that it is not very useful, for now.
    
    But this way we can focus on how the **Dependency Injection** system works.
    
    ### Create a dependency, or "dependable"
    
    Let's first focus on the dependency.
    
    It is just a function that can take all the same parameters that a *path operation function* can take:
    
    {* ../../docs_src/dependencies/tutorial001_an_py310.py hl[8:9] *}
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Oct 28 11:18:17 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  8. docs/de/docs/tutorial/dependencies/classes-as-dependencies.md

    Bevor wir tiefer in das **Dependency Injection** System eintauchen, lassen Sie uns das vorherige Beispiel verbessern.
    
    ## Ein `dict` aus dem vorherigen Beispiel
    
    Im vorherigen Beispiel haben wir ein `dict` von unserer Abhängigkeit („Dependable“) zurückgegeben:
    
    //// tab | Python 3.10+
    
    ```Python hl_lines="9"
    {!> ../../docs_src/dependencies/tutorial001_an_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.9+
    
    ```Python hl_lines="11"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 12K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/dependencies/classes-as-dependencies.md

    Before diving deeper into the **Dependency Injection** system, let's upgrade the previous example.
    
    ## A `dict` from the previous example
    
    In the previous example, we were returning a `dict` from our dependency ("dependable"):
    
    //// tab | Python 3.10+
    
    ```Python hl_lines="9"
    {!> ../../docs_src/dependencies/tutorial001_an_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.9+
    
    ```Python hl_lines="11"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  10. fastapi/param_functions.py

            **extra,
        )
    
    
    def Depends(  # noqa: N802
        dependency: Annotated[
            Optional[Callable[..., Any]],
            Doc(
                """
                A "dependable" callable (like a function).
    
                Don't call it directly, FastAPI will call it for you, just pass the object
                directly.
                """
            ),
        ] = None,
        *,
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 23 18:30:18 UTC 2024
    - 62.5K bytes
    - Viewed (0)
Back to top