- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 43 for tache (0.13 sec)
-
fastapi/dependencies/models.py
self.name = name self.call = call self.use_cache = use_cache # Store the path to be able to re-generate a dependable from it in overrides self.path = path # Save the cache key at creation to optimize performance
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Jul 07 17:12:13 GMT 2023 - 2.4K bytes - Viewed (0) -
tests/test_params_repr.py
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Jul 07 17:12:13 GMT 2023 - 3.3K bytes - Viewed (0) -
docs_src/settings/app02_an_py39/main.py
from functools import lru_cache from typing import Annotated from fastapi import Depends, FastAPI from .config import Settings app = FastAPI() @lru_cache def get_settings(): return Settings() @app.get("/info") async def info(settings: Annotated[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 - 445 bytes - Viewed (0) -
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) -
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) -
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) -
docs/en/docs/release-notes.md
* ๐ท Remove pip cache for Smokeshow as it depends on a requirements.txt. PR [#5700](https://github.com/tiangolo/fastapi/pull/5700) by [@tiangolo](https://github.com/tiangolo). * ๐ Fix pip cache for Smokeshow. PR [#5697](https://github.com/tiangolo/fastapi/pull/5697) by [@tiangolo](https://github.com/tiangolo).
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri May 03 23:25:42 GMT 2024 - 388.1K bytes - Viewed (1) -
tests/test_dependency_cache.py
): return {"counter": count, "subcounter": subcount} @app.get("/sub-counter-no-cache/") async def get_sub_counter_no_cache( subcount: int = Depends(super_dep), count: int = Depends(dep_counter, use_cache=False), ): return {"counter": count, "subcounter": subcount} @app.get("/scope-counter") async def get_scope_counter(
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Tue Aug 23 13:30:24 GMT 2022 - 2.7K bytes - Viewed (0) -
docs_src/settings/app03/main.py
from functools import lru_cache 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: config.Settings = Depends(get_settings)): return { "app_name": settings.app_name, "admin_email": settings.admin_email, "items_per_user": settings.items_per_user,
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Tue Oct 24 20:26:06 GMT 2023 - 412 bytes - Viewed (0) -
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)