- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 141 for Decorator (0.09 sec)
-
docs/zh-hant/docs/tutorial/first-steps.md
#### 定義一個 *路徑操作裝飾器* {* ../../docs_src/first_steps/tutorial001.py h1[6] *} `@app.get("/")` 告訴 **FastAPI** 那個函式負責處理請求: * 路徑 `/` * 使用 <abbr title="HTTP GET 方法"><code>get</code>操作</abbr> /// info | `@decorator` Info Python 中的 `@something` 語法被稱為「裝飾器」。 你把它放在一個函式上面。像一個漂亮的裝飾帽子(我猜這是術語的來源)。 一個「裝飾器」會對下面的函式做一些事情。 在這種情況下,這個裝飾器告訴 **FastAPI** 那個函式對應於 **路徑** `/` 和 **操作** `get`. 這就是「**路徑操作裝飾器**」。Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Oct 11 17:48:49 UTC 2025 - 11.6K bytes - Viewed (0) -
docs/ko/docs/tutorial/first-steps.md
`@app.get("/")`은 **FastAPI**에게 바로 아래에 있는 함수가 다음으로 이동하는 요청을 처리한다는 것을 알려줍니다. * 경로 `/` * <abbr title="HTTP GET 메소드"><code>get</code> 작동</abbr> 사용 /// info | `@decorator` 정보 이 `@something` 문법은 파이썬에서 "데코레이터"라 부릅니다. 마치 예쁜 장식용(Decorative) 모자처럼(개인적으로 이 용어가 여기서 유래한 것 같습니다) 함수 맨 위에 놓습니다. "데코레이터"는 아래 있는 함수를 받아 그것으로 무언가를 합니다.
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Oct 11 17:48:49 UTC 2025 - 10.3K bytes - Viewed (0) -
docs/pt/docs/advanced/security/oauth2-scopes.md
## `Security` em decoradores de `dependencies` { #security-in-decorator-dependencies }Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Nov 12 16:23:57 UTC 2025 - 14.9K bytes - Viewed (0) -
docs/de/docs/advanced/security/oauth2-scopes.md
## `Security` in Dekorator-`dependencies` { #security-in-decorator-dependencies }Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Sep 20 15:10:09 UTC 2025 - 15.7K bytes - Viewed (0) -
docs/pt/docs/tutorial/response-model.md
{* ../../docs_src/response_model/tutorial001_py310.py hl[17,22,24:27] *} /// note | Nota Observe que `response_model` é um parâmetro do método "decorator" (`get`, `post`, etc). Não da sua *função de operação de rota*, como todos os parâmetros e corpo. ///Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 17.3K bytes - Viewed (0) -
docs/en/docs/features.md
* **Extensible**: * Pydantic allows custom data types to be defined or you can extend validation with methods on a model decorated with the validator decorator.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Oct 11 17:48:49 UTC 2025 - 9.5K bytes - Viewed (0) -
docs/ru/docs/advanced/security/oauth2-scopes.md
## `Security` в параметре `dependencies` декоратора { #security-in-decorator-dependencies }Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Tue Sep 30 11:37:11 UTC 2025 - 20.7K bytes - Viewed (0) -
docs/en/docs/advanced/settings.md
```Python def get_settings(): return Settings() ``` we would create that object for each request, and we would be reading the `.env` file for each request. ⚠️ But as we are using the `@lru_cache` decorator on top, the `Settings` object will be created only once, the first time it's called. ✔️ {* ../../docs_src/settings/app03_an_py39/main.py hl[1,11] *}
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 20 15:55:38 UTC 2025 - 11.2K bytes - Viewed (0) -
docs/zh/docs/tutorial/first-steps.md
{* ../../docs_src/first_steps/tutorial001.py hl[6] *} `@app.get("/")` 告诉 **FastAPI** 在它下方的函数负责处理如下访问请求: * 请求路径为 `/` * 使用 <abbr title="HTTP GET 方法"><code>get</code> 操作</abbr> /// info | `@decorator` Info `@something` 语法在 Python 中被称为「装饰器」。 像一顶漂亮的装饰帽一样,将它放在一个函数的上方(我猜测这个术语的命名就是这么来的)。 装饰器接收位于其下方的函数并且用它完成一些工作。 在我们的例子中,这个装饰器告诉 **FastAPI** 位于其下方的函数对应着**路径** `/` 加上 `get` **操作**。Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Oct 11 17:48:49 UTC 2025 - 10.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ForwardingNavigableMap.java
* override one or more methods to modify the behavior of the backing map as desired per the <a * href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>. * * <p><b>Warning:</b> The methods of {@code ForwardingNavigableMap} forward <i>indiscriminately</i> * to the methods of the delegate. For example, overriding {@link #put} alone <i>will not</i> change
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 14.1K bytes - Viewed (0)