- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 62 for cache3 (0.25 sec)
-
docs/em/docs/tutorial/dependencies/sub-dependencies.md
๐ง ๐ ๐โ ๐ ๐ญ ๐ ๐ช ๐ ๐ค ๐ ๐ (๐ฒ ๐ ๐ฐ) ๐ ๐จ โฉ๏ธ โ๏ธ "๐พ" ๐ฒ, ๐ ๐ช โ ๐ข `use_cache=False` ๐โ โ๏ธ `Depends`: ```Python hl_lines="1" async def needy_dependency(fresh_value: str = Depends(get_value, use_cache=False)): return {"fresh_value": fresh_value} ``` ## ๐ โ๏ธ โช๏ธโก๏ธ ๐ ๐ ๐ค โ๏ธ ๐ฅ, **๐ ๐** โ๏ธ ๐ . ๐ข ๐ ๐ ๐ *โก ๐ ๏ธ ๐ข*.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Apr 01 09:26:04 GMT 2023 - 3.3K bytes - Viewed (0) -
docs/ja/docs/tutorial/dependencies/sub-dependencies.md
้ซๅบฆใชใทใใชใชใงใฏใใใญใฃใใทใฅใใใใๅคใไฝฟใใฎใงใฏใชใใๅใใชใฏใจในใใฎๅในใใใ๏ผใใใใ่คๆฐๅ๏ผใงไพๅญ้ขไฟใๅผใณๅบใๅฟ ่ฆใใใใใจใใใใฃใฆใใๅ ดๅใ`Depens`ใไฝฟ็จใใ้ใซใ`use_cache=False`ใจใใใใฉใกใผใฟใ่จญๅฎใใใใจใใงใใพใใ ```Python hl_lines="1" async def needy_dependency(fresh_value: str = Depends(get_value, use_cache=False)): return {"fresh_value": fresh_value} ``` ## ใพใจใ ใใใงไฝฟใใใฆใใๆดพๆใช่จ่ใฏๅฅใซใใฆใ**ไพๅญๆงๆณจๅ ฅ** ใทในใใ ใฏ้ๅธธใซใทใณใใซใงใใ *path operation้ขๆฐ*ใจๅใใใใซ่ฆใใใใ ใฎ้ขๆฐใงใใ
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Mon Jan 15 16:43:41 GMT 2024 - 4.4K bytes - Viewed (0) -
docs/de/docs/deployment/docker.md
```Dockerfile RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt ``` Die Datei mit den Paketanforderungen wird sich **nicht hรคufig รคndern**. Wenn Docker also nur diese Datei kopiert, kann es fรผr diesen Schritt **den Cache verwenden**.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Mar 30 18:19:17 GMT 2024 - 38.9K bytes - Viewed (0) -
fastapi/dependencies/utils.py
continue if sub_dependant.use_cache and sub_dependant.cache_key in dependency_cache: solved = dependency_cache[sub_dependant.cache_key] elif is_gen_callable(call) or is_async_gen_callable(call): solved = await solve_generator( call=call, stack=async_exit_stack, sub_values=sub_values ) elif is_coroutine_callable(call):
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Tue Apr 02 02:52:56 GMT 2024 - 29.5K bytes - Viewed (0) -
docs_src/settings/app03_an/main.py
from functools import lru_cache from typing import Annotated from fastapi import Depends, FastAPI from . import config app = FastAPI() @lru_cache def get_settings(): return config.Settings() @app.get("/info") async def info(settings: Annotated[config.Settings, Depends(get_settings)]): return { "app_name": settings.app_name, "admin_email": settings.admin_email,
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Tue Oct 24 20:26:06 GMT 2023 - 451 bytes - Viewed (0) -
docs/en/docs/advanced/settings.md
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu May 02 22:37:31 GMT 2024 - 15.7K bytes - Viewed (0) -
docs/zh/docs/advanced/settings.md
่ฟๆ ท๏ผๅฎ็่กไธบๅ ไนๅฐฑๅๆฏไธไธชๅ จๅฑๅ้ใไฝๆฏ็ฑไบๅฎไฝฟ็จไบไพ่ต้กนๅฝๆฐ๏ผๅ ๆญคๆไปฌๅฏไปฅ่ฝปๆพๅฐ่ฟ่กๆต่ฏๆถ็่ฆ็ใ `@lru_cache` ๆฏ `functools` ็ไธ้จๅ๏ผๅฎๆฏ Python ๆ ๅๅบ็ไธ้จๅ๏ผๆจๅฏไปฅๅจ<a href="https://docs.python.org/3/library/functools.html#functools.lru_cache" class="external-link" target="_blank">Python ๆๆกฃไธญไบ่งฃๆๅ ณ `@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 - 13.9K bytes - Viewed (0) -
docs/em/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 - 27.9K bytes - Viewed (0) -
.github/workflows/build-docs.yml
with: python-version: "3.11" - uses: actions/cache@v4 id: cache with: path: ${{ env.pythonLocation }} key: ${{ runner.os }}-python-docs-${{ env.pythonLocation }}-${{ hashFiles('pyproject.toml', 'requirements-docs.txt', 'requirements-docs-tests.txt') }}-v07 - name: Install docs extras if: steps.cache.outputs.cache-hit != 'true' run: pip install -r requirements-docs.txt
Others - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Tue Apr 02 03:12:00 GMT 2024 - 4.8K bytes - Viewed (0) -
scripts/docs.py
import json import logging import os import re import shutil import subprocess from functools import lru_cache from http.server import HTTPServer, SimpleHTTPRequestHandler from importlib import metadata from multiprocessing import Pool from pathlib import Path from typing import Any, Dict, List, Optional, Union import mkdocs.commands.build import mkdocs.commands.serve import mkdocs.config import mkdocs.utils import typer
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Mon Jan 22 19:26:14 GMT 2024 - 10.9K bytes - Viewed (1)