Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 682 for lives (0.17 sec)

  1. docs/en/docs/tutorial/bigger-applications.md

    ### Import the dependencies
    
    This code lives in the module `app.routers.items`, the file `app/routers/items.py`.
    
    And we need to get the dependency function from the module `app.dependencies`, the file `app/dependencies.py`.
    
    So we use a relative import with `..` for the dependencies:
    
    ```Python hl_lines="3" title="app/routers/items.py"
    {!../../../docs_src/bigger_applications/app/routers/items.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)
  2. android/guava/src/com/google/common/collect/Platform.java

      /*
       * Arrays are a mess from a nullness perspective, and Class instances for object-array types are
       * even worse. For now, we just suppress and move on with our lives.
       *
       * - https://github.com/jspecify/jspecify/issues/65
       *
       * - https://github.com/jspecify/jdk/commit/71d826792b8c7ef95d492c50a274deab938f2552
       */
      /*
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 4.9K bytes
    - Viewed (0)
  3. docs/en/docs/advanced/behind-a-proxy.md

    If you pass a custom list of `servers` and there's a `root_path` (because your API lives behind a proxy), **FastAPI** will insert a "server" with this `root_path` at the beginning of the list.
    
    For example:
    
    ```Python hl_lines="4-7"
    {!../../../docs_src/behind_a_proxy/tutorial003.py!}
    ```
    
    Will generate an OpenAPI schema like:
    
    ```JSON hl_lines="5-7"
    {
        "openapi": "3.1.0",
        // More stuff here
        "servers": [
    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)
  4. tensorflow/api_template_v1.__init__.py

    _current_module.app.flags = flags  # pylint: disable=undefined-variable
    setattr(_current_module, "flags", flags)
    
    _major_api_version = 1
    
    # Add module aliases from Keras to TF.
    # Some tf endpoints actually lives under Keras.
    _current_module.layers = _KerasLazyLoader(
        globals(),
        submodule="__internal__.legacy.layers",
        name="layers",
        mode="v1")
    if _tf_uses_legacy_keras:
    Python
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Jan 23 02:14:00 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  5. architecture/ambient/ztunnel.md

    ### Outbound
    
    Requests leaving a pod go through the "outbound" code path on port 15001.
    This is where most of Ztunnel's logic lives.
    
    For outbound traffic, we need to first determine where the traffic is destined to.
    As Ztunnel operates at L4, we only have the destination IP/port (recovered via `SO_ORIGINAL_DST`).
    Plain Text
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Apr 25 22:35:16 GMT 2024
    - 16.6K bytes
    - Viewed (0)
  6. docs/en/docs/advanced/settings.md

    === "Python 3.9+"
    
        ```Python hl_lines="1  11"
        {!> ../../../docs_src/settings/app03_an_py39/main.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="1  11"
        {!> ../../../docs_src/settings/app03_an/main.py!}
        ```
    
    === "Python 3.8+ non-Annotated"
    
        !!! tip
            Prefer to use the `Annotated` version if possible.
    
        ```Python hl_lines="1  10"
    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)
  7. docs/en/docs/tutorial/sql-databases.md

    === "Python 3.10+"
    
        ```Python hl_lines="1  4-6  9-10  21-22  25-26"
        {!> ../../../docs_src/sql_databases/sql_app_py310/schemas.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python hl_lines="3  6-8  11-12  23-24  27-28"
        {!> ../../../docs_src/sql_databases/sql_app_py39/schemas.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="3  6-8  11-12  23-24  27-28"
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 29.6K bytes
    - Viewed (0)
  8. docs/en/docs/deployment/docker.md

    7. Set the current working directory to `/code`.
    
    8. Copy the `requirements.txt` file to the `/code` directory.
    
        This file only lives in the previous Docker stage, that's why we use `--from-requirements-stage` to copy it.
    
    9. Install the package dependencies in the generated `requirements.txt` file.
    
    10. Copy the `app` directory to the `/code` directory.
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 34.3K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/Iterators.java

       *
       * @see Collections#frequency
       */
      public static int frequency(Iterator<?> iterator, @CheckForNull Object element) {
        int count = 0;
        while (contains(iterator, element)) {
          // Since it lives in the same class, we know contains gets to the element and then stops,
          // though that isn't currently publicly documented.
          count++;
        }
        return count;
      }
    
      /**
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jan 30 00:14:39 GMT 2024
    - 50.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Iterators.java

       *
       * @see Collections#frequency
       */
      public static int frequency(Iterator<?> iterator, @CheckForNull Object element) {
        int count = 0;
        while (contains(iterator, element)) {
          // Since it lives in the same class, we know contains gets to the element and then stops,
          // though that isn't currently publicly documented.
          count++;
        }
        return count;
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Sat Apr 20 03:33:06 GMT 2024
    - 50.6K bytes
    - Viewed (0)
Back to top