- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for read_pet (0.27 sec)
-
tests/test_response_model_data_filter.py
return user @app.get("/pets/{pet_id}", response_model=PetOut) async def read_pet(pet_id: int): user = UserDB( email="******@****.***", hashed_password="secrethashed", ) pet = PetDB(name="Nibbler", owner=user) return pet @app.get("/pets/", response_model=List[PetOut]) async def read_pets(): user = UserDB( email="******@****.***",
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 1.7K bytes - Viewed (0) -
tests/test_response_model_data_filter_no_inheritance.py
return user @app.get("/pets/{pet_id}", response_model=PetOut) async def read_pet(pet_id: int): user = UserDB( email="******@****.***", hashed_password="secrethashed", ) pet = PetDB(name="Nibbler", owner=user) return pet @app.get("/pets/", response_model=List[PetOut]) async def read_pets(): user = UserDB( email="******@****.***",
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 1.7K bytes - Viewed (0) -
src/os/read_test.go
} foundFile := false foundSubDir := false for _, dir := range list { switch { case !dir.IsDir() && dir.Name() == "read_test.go": foundFile = true case dir.IsDir() && dir.Name() == "exec": foundSubDir = true } } if !foundFile { t.Fatalf("ReadDir %s: read_test.go file not found", dirname) } if !foundSubDir { t.Fatalf("ReadDir %s: exec directory not found", dirname) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 10 02:36:46 UTC 2024 - 3.2K bytes - Viewed (0) -
src/encoding/xml/read_test.go
cui fliter <******@****.***> 1711121504 +0800
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 26 19:58:28 UTC 2024 - 29.1K bytes - Viewed (0) -
src/cmd/internal/cov/read_test.go
Than McIntosh <******@****.***> 1684270573 -0400
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 23 11:36:17 UTC 2023 - 3.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/tpu_colocate_composite_resource_ops.mlir
n = 2 : i32} { // CHECK: %[[RESOURCE_OUT:.*]] = "tf_device.launch"() // CHECK-SAME: TPU_REPLICATED_CORE_0 // CHECK-NEXT: %[[READ_OUT:.*]] = "tf.ReadVariableOp"(%[[RI_0]]) // CHECK-NEXT: tf_device.return %[[READ_OUT]] %0 = "tf.ReadVariableOp"(%arg1) : (tensor<*x!tf_type.resource<tensor<4xf32>>>) -> tensor<4xf32> %1 = "tf.A"() : () -> (tensor<2x!tf_type.string>) "tf_device.launch"() ({
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Oct 31 08:59:10 UTC 2023 - 6.3K bytes - Viewed (0) -
scripts/docs.py
en_index = en_docs_path / "docs" / "index.md" content = en_index.read_text("utf-8") match_pre = re.search(r"</style>\n\n", content) match_start = re.search(r"<!-- sponsors -->", content) match_end = re.search(r"<!-- /sponsors -->", content) sponsors_data_path = en_docs_path / "data" / "sponsors.yml" sponsors = mkdocs.utils.yaml_load(sponsors_data_path.read_text(encoding="utf-8")) if not (match_start and match_end):
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Mon Jan 22 19:26:14 UTC 2024 - 10.9K bytes - Viewed (0) -
src/cmd/go/testdata/script/mod_permissions.txt
chmod 0640 go.mod chmod 0604 go.sum go mod edit -module=golang.org/issue/34634 go get cmp go.mod go.mod.want cmp go.sum go.sum.want go run . stdout 'go.mod: 0640' stdout 'go.sum: 0604' -- read_perm.go -- package main import ( "fmt" "os" _ "rsc.io/sampler" ) func main() { for _, name := range []string{"go.mod", "go.sum"} { fi, err := os.Stat(name) if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 24 21:26:10 UTC 2022 - 1.2K bytes - Viewed (0) -
scripts/mkdocs_hooks.py
@lru_cache def get_missing_translation_content(docs_dir: str) -> str: docs_dir_path = Path(docs_dir) missing_translation_path = docs_dir_path.parent.parent / "missing-translation.md" return missing_translation_path.read_text(encoding="utf-8") @lru_cache def get_mkdocs_material_langs() -> List[str]: material_path = Path(material.__file__).parent material_langs_path = material_path / "templates" / "partials" / "languages"
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Tue Oct 24 20:26:06 UTC 2023 - 5.1K bytes - Viewed (0) -
.github/actions/people/app/main.py
people_path = Path("./docs/en/data/people.yml") github_sponsors_path = Path("./docs/en/data/github_sponsors.yml") people_old_content = people_path.read_text(encoding="utf-8") github_sponsors_old_content = github_sponsors_path.read_text(encoding="utf-8") new_people_content = yaml.dump( people, sort_keys=False, width=200, allow_unicode=True ) new_github_sponsors_content = yaml.dump(
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Tue Mar 26 17:38:21 UTC 2024 - 19.2K bytes - Viewed (0)