- Sort Score
- Num 10 results
- Language All
Results 111 - 120 of 187 for decorate (0.11 seconds)
-
docs/zh-hant/docs/tutorial/response-status-code.md
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 3.7K bytes - Click Count (0) -
docs/ko/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md
그러나 여전히 실행/해결될 필요가 있습니다. 그런 경우에, `Depends`를 사용하여 *경로 처리 함수*의 매개변수로 선언하는 대신 *경로 처리 데코레이터*에 `dependencies`의 `list`를 추가할 수 있습니다. ## *경로 처리 데코레이터*에 `dependencies` 추가하기 { #add-dependencies-to-the-path-operation-decorator } *경로 처리 데코레이터*는 선택적인 인자 `dependencies`를 받습니다. `Depends()`로 된 `list`이어야 합니다: {* ../../docs_src/dependencies/tutorial006_an_py310.py hl[19] *}Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:06:26 GMT 2026 - 3.4K bytes - Click Count (0) -
docs/zh/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md
有时,我们并不需要在*路径操作函数*中使用依赖项的返回值。 或者说,有些依赖项不返回值。 但仍要执行或解析该依赖项。 对于这种情况,不必在声明*路径操作函数*的参数时使用 `Depends`,而是可以在*路径操作装饰器*中添加一个由 `dependencies` 组成的 `list`。 ## 在*路径操作装饰器*中添加 `dependencies` 参数 { #add-dependencies-to-the-path-operation-decorator } *路径操作装饰器*支持可选参数 `dependencies`。 该参数的值是由 `Depends()` 组成的 `list`: {* ../../docs_src/dependencies/tutorial006_an_py310.py hl[19] *} 路径操作装饰器依赖项的执行或解析方式和普通依赖项一样,但就算这些依赖项会返回值,它们的值也不会传递给*路径操作函数*。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 2.8K bytes - Click Count (0) -
docs/fr/docs/advanced/async-tests.md
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:37:13 GMT 2026 - 4.3K bytes - Click Count (0) -
docs/en/docs/advanced/events.md
And the part after the `yield` will be executed **after** the application has finished. ### Async Context Manager { #async-context-manager } If you check, the function is decorated with an `@asynccontextmanager`. That converts the function into something called an "**async context manager**". {* ../../docs_src/events/tutorial003_py310.py hl[1,13] *}Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 7.8K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ForwardingSortedMap.java
* override one or more methods to modify the behavior of the backing sorted 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 ForwardingSortedMap} forward <i>indiscriminately</i> to * the methods of the delegate. For example, overriding {@link #put} alone <i>will not</i> change
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Feb 12 16:28:01 GMT 2025 - 5.7K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ForwardingSortedSet.java
* override one or more methods to modify the behavior of the backing sorted set as desired per the * <a href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>. * * <p><b>Warning:</b> The methods of {@code ForwardingSortedSet} forward <i>indiscriminately</i> to * the methods of the delegate. For example, overriding {@link #add} alone <i>will not</i> change
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Feb 12 16:28:01 GMT 2025 - 5.7K bytes - Click Count (0) -
guava/src/com/google/common/collect/ForwardingSortedSet.java
* override one or more methods to modify the behavior of the backing sorted set as desired per the * <a href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>. * * <p><b>Warning:</b> The methods of {@code ForwardingSortedSet} forward <i>indiscriminately</i> to * the methods of the delegate. For example, overriding {@link #add} alone <i>will not</i> change
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Feb 12 16:28:01 GMT 2025 - 5.7K bytes - Click Count (0) -
docs/uk/docs/tutorial/first-steps.md
#### Визначте *декоратор операції шляху* { #define-a-path-operation-decorator } {* ../../docs_src/first_steps/tutorial001_py310.py hl[6] *} Декоратор `@app.get("/")` повідомляє **FastAPI**, що функція одразу нижче відповідає за обробку запитів, які надходять до: * шляху `/` * використовуючи <dfn title="HTTP метод GET"><code>get</code> операція</dfn> /// info | `@decorator` ІнформаціяCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:27:41 GMT 2026 - 18.7K bytes - Click Count (0) -
docs/zh-hant/docs/tutorial/first-steps.md
所以,在 OpenAPI 中,每個 HTTP 方法都被稱為「操作」。 我們將會稱它們為「**操作**」。 #### 定義一個「路徑操作裝飾器」 { #define-a-path-operation-decorator } {* ../../docs_src/first_steps/tutorial001_py310.py hl[6] *} `@app.get("/")` 告訴 **FastAPI** 那個函式負責處理請求: * 路徑 `/` * 使用 <dfn title="HTTP GET 方法"><code>get</code> 操作</dfn> /// info | `@decorator` 說明 Python 中的 `@something` 語法被稱為「裝飾器」。 你把它放在一個函式上面。像一個漂亮的裝飾帽子(我猜這是術語的來源)。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 13.3K bytes - Click Count (0)