- Sort Score
- Num 10 results
- Language All
Results 241 - 250 of 846 for Python (0.04 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
ci/official/utilities/setup.sh
# functionality instead. tfrun() { "$@"; } if [[ $(uname -s) = MSYS_NT* ]]; then source ./ci/official/utilities/windows.sh echo 'Converting MSYS Linux-like paths to Windows paths (for Docker, Python, etc.)' source <(python ./ci/official/utilities/convert_msys_paths_to_win_paths.py --whitelist-prefix TFCI_) fi # Run all "tfrun" commands under Docker. See setup_docker.sh for details if [[ "$TFCI_DOCKER_ENABLE" == 1 ]]; thenCreated: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Thu Jan 09 18:37:25 GMT 2025 - 6.2K bytes - Click Count (0) -
docs/en/docs/reference/security/index.md
You can import them from `fastapi.security`: ```python from fastapi.security import ( APIKeyCookie, APIKeyHeader, APIKeyQuery, HTTPAuthorizationCredentials, HTTPBasic, HTTPBasicCredentials, HTTPBearer, HTTPDigest, OAuth2,
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Feb 04 12:41:54 GMT 2026 - 1.7K bytes - Click Count (0) -
ci/official/utilities/cleanup_summary.sh
# Each failed target there will have its own representation, making failures # easier to find and read. function resultstore_extract { local PYTHON_BIN XML_PATH PYTHON_BIN=$(which python3 2>/dev/null || which python) XML_PATH="$TFCI_OUTPUT_DIR/Bazel_Test_and_Build_Results/sponge_log.xml" "$PYTHON_BIN" \ "$TFCI_GIT_DIR/ci/official/utilities/extract_resultstore_links.py" \ "$TFCI_OUTPUT_DIR/script.log" \Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Thu Jan 09 18:37:25 GMT 2025 - 1.8K bytes - Click Count (0) -
src/main/config/openapi/openapi-user.yaml
required: false style: form explode: true schema: type: array items: type: string example: [python] responses: '200': description: Successful operation content: application/json: schema: type: object properties:Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu May 09 06:31:27 GMT 2024 - 21.6K bytes - Click Count (0) -
docs/en/docs/tutorial/response-model.md
{* ../../docs_src/response_model/tutorial002_py310.py hl[7,9] *} /// info To use `EmailStr`, first install [`email-validator`](https://github.com/JoshData/python-email-validator). Make sure you create a [virtual environment](../virtual-environments.md), activate it, and then install it, for example: ```console $ pip install email-validator ``` or with:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 15.5K bytes - Click Count (0) -
docs/en/docs/advanced/advanced-dependencies.md
But we want to be able to parameterize that fixed content. ## A "callable" instance { #a-callable-instance } In Python there's a way to make an instance of a class a "callable". Not the class itself (which is already a callable), but an instance of that class. To do that, we declare a method `__call__`:
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 9K bytes - Click Count (0) -
docs/zh-hant/docs/fastapi-cli.md
entrypoint = "main:app" ``` 這個 `entrypoint` 會告訴 `fastapi` 指令應該像這樣匯入 app: ```python from main import app ``` 如果你的程式碼結構是這樣: ``` . ├── backend │ ├── main.py │ ├── __init__.py ``` 那麼你應該把 `entrypoint` 設為: ```toml [tool.fastapi] entrypoint = "backend.main:app" ``` 這等同於: ```python from backend.main import app ``` ### 帶路徑的 `fastapi dev` { #fastapi-dev-with-path }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 5.8K bytes - Click Count (0) -
docs/ja/docs/tutorial/dependencies/index.md
```Python commons: Annotated[dict, Depends(common_parameters)] ``` しかし、`Annotated` を使用しているので、その `Annotated` 値を変数に格納して複数箇所で使えます: {* ../../docs_src/dependencies/tutorial001_02_an_py310.py hl[12,16,21] *} /// tip | 豆知識 これはただの標準 Python で、「type alias」と呼ばれ、**FastAPI** 固有のものではありません。 しかし **FastAPI** は `Annotated` を含む Python 標準に基づいているため、このテクニックをコードで使えます。 😎 ///
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:07:17 GMT 2026 - 11.9K bytes - Click Count (0) -
.github/workflows/arm-ci.yml
- name: Checkout repository uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 - name: Build binary and run python tests shell: bash run: | CI_DOCKER_BUILD_EXTRA_PARAMS="--pull --build-arg py_major_minor_version=${{ matrix.pyver }} --build-arg is_nightly=1 --build-arg tf_project_name=tf_nightly_ci" \Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Thu Jan 01 08:09:03 GMT 2026 - 2.2K bytes - Click Count (0) -
fastapi/security/oauth2.py
Read more about it in the [FastAPI docs for Simple OAuth2 with Password and Bearer](https://fastapi.tiangolo.com/tutorial/security/simple-oauth2/). ## Example ```python from typing import Annotated from fastapi import Depends, FastAPI from fastapi.security import OAuth2PasswordRequestForm app = FastAPI() @app.post("/login")Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Mar 24 16:32:10 GMT 2026 - 23.6K bytes - Click Count (0)