Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for say (0.21 sec)

  1. docs/en/docs/advanced/settings.md

    ```Python
    @lru_cache
    def say_hi(name: str, salutation: str = "Ms."):
        return f"Hello {salutation} {name}"
    ```
    
    your program could execute like this:
    
    ```mermaid
    sequenceDiagram
    
    participant code as Code
    participant function as say_hi()
    participant execute as Execute function
    
        rect rgba(0, 255, 0, .1)
            code ->> function: say_hi(name="Camila")
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 15.7K bytes
    - Viewed (0)
  2. maven-core/src/test/java/org/apache/maven/lifecycle/internal/stub/DefaultLifecyclesStub.java

                    PROCESS_TEST_RESOURCES.getPhase(),
                    PACKAGE.getPhase(),
                    "BEER",
                    INSTALL.getPhase());
    
            // The two phases below are really for future expansion, some would say they lack a drink
            // The point being that they do not really have to match the "real" stuff,
            List<String> stubCleanCycle = Arrays.asList(PRE_CLEAN.getPhase(), CLEAN.getPhase(), POST_CLEAN.getPhase());
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/Supplier.java

     * or method references instead of classes, leaving your code easier to migrate in the future.
     *
     * <p>To use an existing supplier instance (say, named {@code supplier}) in a context where the
     * <i>other type</i> of supplier is expected, use the method reference {@code supplier::get}. A
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 01:41:50 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/testing.md

    In a real application, you probably would have your tests in a different file.
    
    And your **FastAPI** application might also be composed of several files/modules, etc.
    
    ### **FastAPI** app file
    
    Let's say you have a file structure as described in [Bigger Applications](bigger-applications.md){.internal-link target=_blank}:
    
    ```
    .
    ├── app
    │   ├── __init__.py
    │   └── main.py
    ```
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  5. docs/en/docs/python-types.md

        {!> ../../../docs_src/python_types/tutorial008.py!}
        ```
    
    This means:
    
    * The variable `prices` is a `dict`:
        * The keys of this `dict` are of type `str` (let's say, the name of each item).
        * The values of this `dict` are of type `float` (let's say, the price of each item).
    
    #### Union
    
    You can declare that a variable can be any of **several types**, for example, an `int` or a `str`.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 17K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/base/Function.java

     * Otherwise, at least reduce <i>explicit</i> dependencies on this type by using lambda expressions
     * or method references instead of classes, leaving your code easier to migrate in the future.
     *
     * <p>To use an existing function (say, named {@code function}) in a context where the <i>other
     * type</i> of function is expected, use the method reference {@code function::apply}. A future
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 01:41:50 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  7. README.md

        `@Deprecated` APIs will remain (again, unless they are `@Beta`). We have no
        plans to start removing things again, but officially, we're leaving our
        options open in case of surprises (like, say, a serious security problem).
    
    3.  Guava has one dependency that is needed for linkage at runtime:
        `com.google.guava:failureaccess:1.0.2`. It also has
    Plain Text
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/bigger-applications.md

    **FastAPI** provides a convenience tool to structure your application while keeping all the flexibility.
    
    !!! info
        If you come from Flask, this would be the equivalent of Flask's Blueprints.
    
    ## An example file structure
    
    Let's say you have a file structure like this:
    
    ```
    .
    ├── app
    │   ├── __init__.py
    │   ├── main.py
    │   ├── dependencies.py
    │   └── routers
    │   │   ├── __init__.py
    │   │   ├── items.py
    │   │   └── users.py
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 18.6K bytes
    - Viewed (0)
  9. docs/en/docs/async.md

    So you wait for your crush to finish the story (finish the current work ⏯ / task being processed 🤓), smile gently and say that you are going for the burgers ⏸.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 23K bytes
    - Viewed (0)
  10. docs/en/docs/help-fastapi.md

    * <a href="https://alternativeto.net/software/fastapi/" class="external-link" target="_blank">Vote for **FastAPI** in AlternativeTo</a>.
    * <a href="https://stackshare.io/pypi-fastapi" class="external-link" target="_blank">Say you use **FastAPI** on StackShare</a>.
    
    ## Help others with questions in GitHub
    
    You can try and help others with their questions in:
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 13.7K bytes
    - Viewed (0)
Back to top