- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 59 for 1173 (0.2 sec)
-
docs/fr/docs/tutorial/background-tasks.md
## Utiliser `BackgroundTasks` Pour commencer, importez `BackgroundTasks` et définissez un paramètre dans votre *fonction de chemin* avec `BackgroundTasks` comme type déclaré. ```Python hl_lines="1 13" {!../../../docs_src/background_tasks/tutorial001.py!} ``` **FastAPI** créera l'objet de type `BackgroundTasks` pour vous et le passera comme paramètre. ## Créer une fonction de tâche
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu May 12 00:06:16 GMT 2022 - 5.7K bytes - Viewed (0) -
docs/em/docs/tutorial/response-model.md
## 📨 🏷 🔢 🔢 👆 📨 🏷 💪 ✔️ 🔢 💲, 💖: === "🐍 3️⃣.6️⃣ & 🔛" ```Python hl_lines="11 13-14" {!> ../../../docs_src/response_model/tutorial004.py!} ``` === "🐍 3️⃣.9️⃣ & 🔛" ```Python hl_lines="11 13-14" {!> ../../../docs_src/response_model/tutorial004_py39.py!} ``` === "🐍 3️⃣.1️⃣0️⃣ & 🔛"
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 16K bytes - Viewed (0) -
docs/zh/docs/tutorial/response-model.md
并且两种模型都将在交互式 API 文档中使用: <img src="https://fastapi.tiangolo.com/img/tutorial/response-model/image02.png"> ## 响应模型编码参数 你的响应模型可以具有默认值,例如: ```Python hl_lines="11 13-14" {!../../../docs_src/response_model/tutorial004.py!} ``` * `description: Union[str, None] = None` 具有默认值 `None`。 * `tax: float = 10.5` 具有默认值 `10.5`. * `tags: List[str] = []` 具有一个空列表作为默认值: `[]`.
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 7.9K bytes - Viewed (0) -
docs/ko/docs/tutorial/response-model.md
<img src="/img/tutorial/response-model/image01.png"> 그리고 두 모델 모두 대화형 API 문서에 사용됩니다: <img src="/img/tutorial/response-model/image02.png"> ## 응답 모델 인코딩 매개변수 응답 모델은 아래와 같이 기본값을 가질 수 있습니다: ```Python hl_lines="11 13-14" {!../../../docs_src/response_model/tutorial004.py!} ``` * `description: Optional[str] = None`은 기본값으로 `None`을 갖습니다. * `tax: float = 10.5`는 기본값으로 `10.5`를 갖습니다. * `tags: List[str] = []` 빈 리스트의 기본값으로: `[]`.
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 8.2K bytes - Viewed (0) -
docs/de/docs/tutorial/security/oauth2-jwt.md
Erstellen Sie einen echten JWT-Zugriffstoken und geben Sie ihn zurück. === "Python 3.10+" ```Python hl_lines="117-132" {!> ../../../docs_src/security/tutorial004_an_py310.py!} ``` === "Python 3.9+" ```Python hl_lines="117-132" {!> ../../../docs_src/security/tutorial004_an_py39.py!} ``` === "Python 3.8+" ```Python hl_lines="118-133"
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Sat Mar 30 20:27:06 GMT 2024 - 15.1K bytes - Viewed (0) -
docs/zh/docs/tutorial/background-tasks.md
* 处理数据: * 例如,假设您收到的文件必须经过一个缓慢的过程,您可以返回一个"Accepted"(HTTP 202)响应并在后台处理它。 ## 使用 `BackgroundTasks` 首先导入 `BackgroundTasks` 并在 *路径操作函数* 中使用类型声明 `BackgroundTasks` 定义一个参数: ```Python hl_lines="1 13" {!../../../docs_src/background_tasks/tutorial001.py!} ``` **FastAPI** 会创建一个 `BackgroundTasks` 类型的对象并作为该参数传入。 ## 创建一个任务函数 创建要作为后台任务运行的函数。 它只是一个可以接收参数的标准函数。
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Tue Oct 17 05:59:11 GMT 2023 - 5K bytes - Viewed (0) -
docs/ru/docs/tutorial/response-model.md
{!> ../../../docs_src/response_model/tutorial004_py310.py!} ``` === "Python 3.9+" ```Python hl_lines="11 13-14" {!> ../../../docs_src/response_model/tutorial004_py39.py!} ``` === "Python 3.8+" ```Python hl_lines="11 13-14" {!> ../../../docs_src/response_model/tutorial004.py!} ```
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 30.5K bytes - Viewed (0) -
src/test/java/jcifs/tests/FileOperationsTest.java
finally { d1.delete(); } } finally { f.delete(); } } } // #173 @Test public void testCopyTargetExists () throws IOException { int bufSize = 65536; long length = 4096 * 16; try ( SmbFile f = createTestFile() ) {
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Thu Jan 05 13:17:59 GMT 2023 - 16.3K bytes - Viewed (0) -
istioctl/pkg/multicluster/remote_secret.go
} func (o *RemoteSecretOptions) prepare(ctx cli.Context) error { o.KubeOptions.prepare(ctx) if o.ClusterName != "" { if !labels.IsDNS1123Label(o.ClusterName) { return fmt.Errorf("%v is not a valid DNS 1123 label", o.ClusterName) } } return nil } type Warning error func createRemoteSecret(opt RemoteSecretOptions, client kube.CLIClient) (*v1.Secret, Warning, error) {
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Wed Oct 11 01:43:17 GMT 2023 - 24K bytes - Viewed (0) -
android/guava/src/com/google/common/net/InternetDomainName.java
* <li>Underscores ('_') are permitted wherever dashes ('-') are permitted. * <li>Parts other than the final part may start with a digit, as mandated by <a * href="https://tools.ietf.org/html/rfc1123#section-2">RFC 1123</a>. * </ul> * * @param domain A domain name (not IP address) * @throws IllegalArgumentException if {@code domain} is not syntactically valid according to * {@link #isValid}
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Feb 05 20:47:23 GMT 2024 - 28K bytes - Viewed (0)