- Sort Score
- Result 10 results
- Languages All
Results 451 - 460 of 895 for python (0.1 sec)
-
docs/zh/docs/deployment/server-workers.md
``` </div> 让我们看看每个选项的含义: * `main:app`:这与 Uvicorn 使用的语法相同,`main` 表示名为"`main`"的 Python 模块,因此是文件 `main.py`。 `app` 是 **FastAPI** 应用程序的变量名称。 * 你可以想象 `main:app` 相当于一个 Python `import` 语句,例如: ```Python from main import app ``` * 因此,`main:app` 中的冒号相当于 `from main import app` 中的 Python `import` 部分。 * `--workers`:要使用的worker进程数量,每个进程将运行一个 Uvicorn worker进程,在本例中为 4 个worker进程。
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Aug 06 04:48:30 UTC 2024 - 8.7K bytes - Viewed (0) -
docs/en/docs/advanced/security/http-basic-auth.md
And they send a request with a username `johndoe` and a password `love123`. Then the Python code in your application would be equivalent to something like: ```Python if "johndoe" == "stanleyjobson" and "love123" == "swordfish": ... ```
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Oct 26 16:01:27 UTC 2024 - 4.8K bytes - Viewed (0) -
docs/fa/docs/index.md
خط زیر را به این صورت تغییر دهید: ```Python return {"item_name": item.name, "item_id": item_id} ``` از: ```Python ... "item_name": item.name ... ``` به: ```Python ... "item_price": item.price ... ```
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 20 19:20:23 UTC 2024 - 25.9K bytes - Viewed (0) -
docs/pt/docs/advanced/dataclasses.md
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Oct 22 17:33:53 UTC 2024 - 4.4K bytes - Viewed (0) -
docs/de/docs/tutorial/first-steps.md
## Rückblick, Schritt für Schritt ### Schritt 1: Importieren von `FastAPI` ```Python hl_lines="1" {!../../docs_src/first_steps/tutorial001.py!} ``` `FastAPI` ist eine Python-Klasse, die die gesamte Funktionalität für Ihre API bereitstellt. /// note | "Technische Details" `FastAPI` ist eine Klasse, die direkt von `Starlette` erbt.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 10.5K bytes - Viewed (0) -
docs/ja/docs/alternatives.md
Requestsは非常にシンプルかつ直感的なデザインで使いやすく、適切なデフォルト値を設定しています。しかし同時に、非常に強力でカスタマイズも可能です。 公式サイトで以下のように言われているのは、それが理由です。 > Requestsは今までで最もダウンロードされたPythonパッケージである 使い方はとても簡単です。例えば、`GET`リクエストを実行するには、このように書けば良いです: ```Python response = requests.get("http://example.com/some/url") ``` 対応するFastAPIのパスオペレーションはこのようになります: ```Python hl_lines="1" @app.get("/some/url") def read_url(): return {"message": "Hello World"} ```
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Aug 06 04:48:30 UTC 2024 - 31.6K bytes - Viewed (0) -
docs/tr/docs/tutorial/first-steps.md
## Adım Adım Özetleyelim ### Adım 1: `FastAPI`yı Projemize Dahil Edelim ```Python hl_lines="1" {!../../docs_src/first_steps/tutorial001.py!} ``` `FastAPI`, API'niz için tüm işlevselliği sağlayan bir Python sınıfıdır. /// note | "Teknik Detaylar" `FastAPI` doğrudan `Starlette`'i miras alan bir sınıftır.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 10.5K bytes - Viewed (0) -
docs/ko/docs/tutorial/metadata.md
```Python hl_lines="3-16 18" {!../../docs_src/metadata/tutorial004.py!} ``` 설명 안에 마크다운을 사용할 수 있습니다. 예를 들어 "login"은 굵게(**login**) 표시되고, "fancy"는 기울임꼴(_fancy_)로 표시됩니다. /// tip 사용 중인 모든 태그에 메타데이터를 추가할 필요는 없습니다. /// ### 태그 사용 `tags` 매개변수를 *경로 작동* 및 `APIRouter`와 함께 사용하여 태그에 할당할 수 있습니다: ```Python hl_lines="21 26" {!../../docs_src/metadata/tutorial004.py!}
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Oct 29 10:36:06 UTC 2024 - 6.5K bytes - Viewed (0) -
docs/fr/docs/project-generation.md
* Intégration **Docker Compose** et optimisation pour développement local. * Serveur web Python **prêt au déploiement** utilisant Uvicorn et Gunicorn. * Backend Python <a href="https://github.com/fastapi/fastapi" class="external-link" target="_blank">**FastAPI**</a> :
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Mon Jul 29 23:35:07 UTC 2024 - 6.7K bytes - Viewed (0) -
tensorflow/c/eager/parallel_device/BUILD
licenses = ["notice"], ) # Currently pybind extension shared objects must use only C API headers since # the C API has static initializers duplicated in the Python bindings. So we # need a second rule that omits .cc files, in # tensorflow/python:_pywrap_parallel_device. filegroup( name = "lib_headers", srcs = ["parallel_device_lib.h"], ) filegroup( name = "lib_sources",
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Mon Oct 21 04:14:14 UTC 2024 - 5.4K bytes - Viewed (0)