Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for cache (0.25 sec)

  1. .gitignore

    .idea
    .ipynb_checkpoints
    .mypy_cache
    .vscode
    __pycache__
    .pytest_cache
    htmlcov
    dist
    site
    .coverage
    coverage.xml
    .netlify
    test.db
    log.txt
    Pipfile.lock
    env3.*
    env
    docs_build
    site_build
    venv
    docs.zip
    archive.zip
    
    # vim temporary files
    *~
    .*.sw?
    .cache
    
    # macOS
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Aug 19 13:11:35 GMT 2023
    - 268 bytes
    - Viewed (0)
  2. docs/de/docs/tutorial/dependencies/sub-dependencies.md

    === "Python 3.8+"
    
        ```Python hl_lines="1"
        async def needy_dependency(fresh_value: Annotated[str, Depends(get_value, use_cache=False)]):
            return {"fresh_value": fresh_value}
        ```
    
    === "Python 3.8+ nicht annotiert"
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 18:09:48 GMT 2024
    - 6.3K bytes
    - Viewed (0)
  3. docs/ru/docs/deployment/docker.md

    4. Установите библиотеки перечисленные в файле с зависимостями.
    
        Опция `--no-cache-dir` указывает `pip` не сохранять загружаемые библиотеки на локальной машине для использования их в случае повторной загрузки. В контейнере, в случае пересборки этого шага, они всё равно будут удалены.
    
        !!! note "Заметка"
            Опция `--no-cache-dir` нужна только для `pip`, она никак не влияет на Docker или контейнеры.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 57.5K bytes
    - Viewed (0)
  4. docs/em/docs/advanced/settings.md

    `@lru_cache` 🍕 `functools` ❔ 🍕 🐍 🐩 🗃, 👆 💪 ✍ 🌅 🔃 ⚫️ <a href="https://docs.python.org/3/library/functools.html#functools.lru_cache" class="external-link" target="_blank">🐍 🩺 `@lru_cache`</a>.
    
    ## 🌃
    
    👆 💪 ⚙️ Pydantic ⚒ 🍵 ⚒ ⚖️ 📳 👆 🈸, ⏮️ 🌐 🏋️ Pydantic 🏷.
    
    * ⚙️ 🔗 👆 💪 📉 🔬.
    * 👆 💪 ⚙️ `.env` 📁 ⏮️ ⚫️.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 11.4K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/dependencies/sub-dependencies.md

    In an advanced scenario where you know you need the dependency to be called at every step (possibly multiple times) in the same request instead of using the "cached" value, you can set the parameter `use_cache=False` when using `Depends`:
    
    === "Python 3.8+"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Oct 17 05:59:11 GMT 2023
    - 5.6K bytes
    - Viewed (0)
  6. docs/ko/docs/deployment/docker.md

        이 파일이 **자주 바뀌지 않기 때문에**, 도커는 파일을 탐지하여 이 단계의 **캐시**를 사용하여 다음 단계에서도 캐시를 사용할 수 있도록 합니다.
    
    4. 요구 조건 파일에 있는 패키지 종속성을 설치합니다.
    
        `--no-cache-dir` 옵션은 `pip`에게 다운로드한 패키지들을 로컬 환경에 저장하지 않도록 전달합니다. 이는 마치 같은 패키지를 설치하기 위해 오직 `pip`만 다시 실행하면 될 것 같지만, 컨테이너로 작업하는 경우 그렇지는 않습니다.
    
        !!! note "노트"
            `--no-cache-dir` 는 오직 `pip`와 관련되어 있으며, 도커나 컨테이너와는 무관합니다.
    
        `--upgrade` 옵션은 `pip`에게 설치된 패키지들을 업데이트하도록 합니다.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 42.6K bytes
    - Viewed (0)
  7. docs/de/docs/advanced/settings.md

    `@lru_cache` ist Teil von `functools`, welches Teil von Pythons Standardbibliothek ist. Weitere Informationen dazu finden Sie in der <a href="https://docs.python.org/3/library/functools.html#functools.lru_cache" class="external-link" target="_blank">Python Dokumentation für `@lru_cache`</a>.
    
    ## Zusammenfassung
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:17:14 GMT 2024
    - 17.8K bytes
    - Viewed (0)
  8. docs/de/docs/how-to/extending-openapi.md

    ```Python hl_lines="22-24"
    {!../../../docs_src/extending_openapi/tutorial001.py!}
    ```
    
    ### Zwischenspeichern des OpenAPI-Schemas
    
    Sie können die Eigenschaft `.openapi_schema` als „Cache“ verwenden, um Ihr generiertes Schema zu speichern.
    
    Auf diese Weise muss Ihre Anwendung das Schema nicht jedes Mal generieren, wenn ein Benutzer Ihre API-Dokumentation öffnet.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Mar 14 16:44:05 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  9. docs/en/docs/how-to/extending-openapi.md

    ```Python hl_lines="22-24"
    {!../../../docs_src/extending_openapi/tutorial001.py!}
    ```
    
    ### Cache the OpenAPI schema
    
    You can use the property `.openapi_schema` as a "cache", to store your generated schema.
    
    That way, your application won't have to generate the schema every time a user opens your API docs.
    
    It will be generated only once, and then the same cached schema will be used for the next requests.
    
    ```Python hl_lines="13-14  25-26"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Aug 19 19:54:04 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  10. docs/zh/docs/deployment/docker.md

         首先仅复制requirements.txt文件,而不复制其余代码。
    
         由于此文件**不经常更改**,Docker 将检测到它并在这一步中使用**缓存**,从而为下一步启用缓存。
    
    4. 安装需求文件中的包依赖项。
    
         `--no-cache-dir` 选项告诉 `pip` 不要在本地保存下载的包,因为只有当 `pip` 再次运行以安装相同的包时才会这样,但在与容器一起工作时情况并非如此。
    
         !!! note "笔记"
             `--no-cache-dir` 仅与 `pip` 相关,与 Docker 或容器无关。
    
         `--upgrade` 选项告诉 `pip` 升级软件包(如果已经安装)。
    
         因为上一步复制文件可以被 **Docker 缓存** 检测到,所以此步骤也将 **使用 Docker 缓存**(如果可用)。
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 31.2K bytes
    - Viewed (0)
Back to top