- Sort Score
- Result 10 results
- Languages All
Results 741 - 750 of 794 for py (0.01 sec)
-
docs/de/docs/tutorial/index.md
## Den Code ausführen Alle Codeblöcke können kopiert und direkt verwendet werden (da es sich um getestete Python-Dateien handelt). Um eines der Beispiele auszuführen, kopieren Sie den Code in eine Datei `main.py`, und starten Sie `uvicorn` mit: <div class="termy"> ```console $ uvicorn main:app --reload <span style="color: green;">INFO</span>: Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sat Nov 09 16:39:20 UTC 2024 - 3K bytes - Viewed (0) -
docs/zh/docs/advanced/additional-status-codes.md
例如,假设你想有一个 *路径操作* 能够更新条目,并且更新成功时返回 200 「成功」 的 HTTP 状态码。 但是你也希望它能够接受新的条目。并且当这些条目不存在时,会自动创建并返回 201 「创建」的 HTTP 状态码。 要实现它,导入 `JSONResponse`,然后在其中直接返回你的内容,并将 `status_code` 设置为为你要的值。 {* ../../docs_src/additional_status_codes/tutorial001.py hl[4,25] *} /// warning | 警告 当你直接返回一个像上面例子中的 `Response` 对象时,它会直接返回。 FastAPI 不会用模型等对该响应进行序列化。 确保其中有你想要的数据,且返回的值为合法的 JSON(如果你使用 `JSONResponse` 的话)。 /// /// note | 技术细节Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 1.8K bytes - Viewed (0) -
docs/ru/docs/tutorial/index.md
## Запустите код Все блоки кода можно копировать и использовать напрямую (на самом деле это проверенные файлы Python). Чтобы запустить любой из примеров, скопируйте код в файл `main.py` и запустите `uvicorn` с параметрами: <div class="termy"> ```console $ uvicorn main:app --reload <span style="color: green;">INFO</span>: Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sat Nov 09 16:39:20 UTC 2024 - 4.7K bytes - Viewed (0) -
docs/ko/docs/advanced/using-request-directly.md
하지만 특정한 경우에는 `Request` 객체에 직접 접근하는 것이 유용할 수 있습니다. ## `Request` 객체를 직접 사용하기 여러분이 클라이언트의 IP 주소/호스트 정보를 *경로 작동 함수* 내부에서 가져와야 한다고 가정해 보겠습니다. 이를 위해서는 요청에 직접 접근해야 합니다. {* ../../docs_src/using_request_directly/tutorial001.py hl[1,7:8] *} *경로 작동 함수* 매개변수를 `Request` 타입으로 선언하면 **FastAPI**가 해당 매개변수에 `Request` 객체를 전달하는 것을 알게 됩니다. /// tip | 팁 이 경우, 요청 매개변수와 함께 경로 매개변수를 선언한 것을 볼 수 있습니다.Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 2.7K bytes - Viewed (0) -
ci/official/installer_wheel.sh
source "${BASH_SOURCE%/*}/utilities/setup.sh" # Update the version numbers for Nightly only if [[ "$TFCI_NIGHTLY_UPDATE_VERSION_ENABLE" == 1 ]]; then python3 tensorflow/tools/ci_build/update_version.py --nightly fi # This generates a pure python wheel of the format "*-py3-none-any.whl" bazel run --HERMETIC_PYTHON_VERSION=3.13 //tensorflow/tools/pip_package:setup_py_binary -- bdist_wheel --dist-dir "$TFCI_OUTPUT_DIR"Registered: Tue Sep 09 12:39:10 UTC 2025 - Last Modified: Tue Mar 04 22:39:12 UTC 2025 - 3.5K bytes - Viewed (0) -
ci/official/utilities/code_check_changed_files.bats
# have passed Google's internal style guidelines. @test "Check pylint for Python files" { echo "Python formatting is recommended. Here are the pylint errors:" echo "=============================" grep -e "\.py$" $BATS_FILE_TMPDIR/changed_files > $BATS_TEST_TMPDIR/files || true if [[ ! -s $BATS_TEST_TMPDIR/files ]]; then return 0; fi xargs -a $BATS_TEST_TMPDIR/files -n1 -P $(nproc --all) \
Registered: Tue Sep 09 12:39:10 UTC 2025 - Last Modified: Wed Jan 10 19:39:41 UTC 2024 - 4K bytes - Viewed (0) -
docs/ko/docs/deployment/docker.md
</div> /// info | 정보 패키지 종속성을 정의하고 설치하기 위한 방법과 도구는 다양합니다. 나중에 아래 세션에서 Poetry를 사용한 예시를 보이겠습니다. 👇 /// ### **FastAPI** 코드 생성하기 * `app` 디렉터리를 생성하고 이동합니다. * 빈 파일 `__init__.py`을 생성합니다. * 다음과 같은 `main.py`을 생성합니다: ```Python from typing import Union from fastapi import FastAPI app = FastAPI() @app.get("/") def read_root(): return {"Hello": "World"}
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sat Nov 09 16:39:20 UTC 2024 - 42.7K bytes - Viewed (0) -
docs/ko/docs/tutorial/index.md
또한 향후에도 참조 자료로 쓰일 수 있도록 작성되었습니다. 그러므로 필요할 때에 다시 돌아와서 원하는 것을 정확히 찾을 수 있습니다. ## 코드 실행하기 모든 코드 블록은 복사하여 바로 사용할 수 있습니다(실제로 테스트된 파이썬 파일입니다). 예제를 실행하려면 코드를 `main.py` 파일에 복사하고 다음을 사용하여 `uvicorn`을 시작합니다: <div class="termy"> ```console $ uvicorn main:app --reload <span style="color: green;">INFO</span>: Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sat Nov 09 16:39:20 UTC 2024 - 3K bytes - Viewed (0) -
requirements_lock_3_13.txt
# # This file is autogenerated by pip-compile with Python 3.13 # by the following command: # # bazel run //ci/official/requirements_updater:requirements.update # absl-py==2.3.0 \ --hash=sha256:9824a48b654a306168f63e0d97714665f8490b8d89ec7bf2efc24bf67cf579b3 \ --hash=sha256:d96fda5c884f1b22178852f30ffa85766d50b99e00775ea626c23304f582fc4f # via # keras-nightly # tb-nightly astor==0.7.1 \Registered: Tue Sep 09 12:39:10 UTC 2025 - Last Modified: Wed Sep 03 23:57:17 UTC 2025 - 66.2K bytes - Viewed (0) -
docs/es/docs/advanced/openapi-webhooks.md
{* ../../docs_src/openapi_webhooks/tutorial001.py hl[9:13,36:53] *} Los webhooks que defines terminarán en el esquema de **OpenAPI** y en la interfaz automática de **documentación**. /// info | InformaciónRegistered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Dec 30 18:26:57 UTC 2024 - 3K bytes - Viewed (0)