- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 20 for cat (0.02 seconds)
-
tests/test_union_body_discriminator_annotated.py
from pydantic import Discriminator, Tag class Cat(BaseModel): pet_type: str = "cat" meows: int class Dog(BaseModel): pet_type: str = "dog" barks: float def get_pet_type(v): assert isinstance(v, dict) return v.get("pet_type", "") Pet = Annotated[ Union[Annotated[Cat, Tag("cat")], Annotated[Dog, Tag("dog")]],Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 20 15:55:38 GMT 2025 - 7.7K bytes - Click Count (0) -
ci/official/containers/ml_build/setup.python.sh
if [[ ${VERSION} == "python3.13-nogil" || ${VERSION} == "python3.14-nogil" ]]; then cat >pythons.txt <<EOF $VERSION EOF elif [[ ${VERSION} == "python3.14" || ${VERSION} == "python3.13" || ${VERSION} == "python3.12" ]]; then cat >pythons.txt <<EOF $VERSION $VERSION-dev $VERSION-venv EOF else cat >pythons.txt <<EOF $VERSION $VERSION-dev $VERSION-venv $VERSION-distutils EOF fiCreated: Tue Dec 30 12:39:10 GMT 2025 - Last Modified: Thu Oct 30 20:25:44 GMT 2025 - 2.5K bytes - Click Count (0) -
docs/de/docs/tutorial/dependencies/classes-as-dependencies.md
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 7.6K bytes - Click Count (0) -
ci/official/utilities/code_check_full.bats
echo "Please remove the following extra licenses from $LICENSES_TARGET:" cat $BATS_TEST_TMPDIR/actual_extra_licenses fi if [[ -s $BATS_TEST_TMPDIR/actual_missing_licenses ]]; then echo "Please include the missing licenses for the following packages in $LICENSES_TARGET:" cat $BATS_TEST_TMPDIR/actual_missing_licenses fi
Created: Tue Dec 30 12:39:10 GMT 2025 - Last Modified: Fri Dec 19 18:47:57 GMT 2025 - 13.5K bytes - Click Count (0) -
tests/test_tutorial/test_response_headers/test_tutorial002.py
def test_path_operation(): response = client.get("/headers-and-object/") assert response.status_code == 200, response.text assert response.json() == {"message": "Hello World"}
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 383 bytes - Click Count (0) -
tests/test_tutorial/test_response_headers/test_tutorial001.py
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 431 bytes - Click Count (0) -
docs/en/docs/tutorial/dependencies/classes-as-dependencies.md
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 6.7K bytes - Click Count (0) -
docs/pt/docs/tutorial/dependencies/classes-as-dependencies.md
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 7.3K bytes - Click Count (0) -
docs_src/response_headers/tutorial002_py39.py
from fastapi import FastAPI, Response app = FastAPI() @app.get("/headers-and-object/") def get_headers(response: Response): response.headers["X-Cat-Dog"] = "alone in the world"
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 222 bytes - Click Count (0) -
.github/workflows/check-commits.yml
groovy .github/workflows/CheckBadMerge.groovy pr_commits.txt > output.txt 2>&1 - name: Read output file id: read_output if: ${{ always() }} run: | cat output.txt OUTPUT=$(cat output.txt) echo "OUTPUT<<EOF" >> $GITHUB_ENV echo "$OUTPUT" >> $GITHUB_ENV echo "EOF" >> $GITHUB_ENV - name: Comment on PR if check failed if: ${{ failure() }}
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Thu Nov 20 22:15:20 GMT 2025 - 3K bytes - Click Count (0)