- Sort Score
- Result 10 results
- Languages All
Results 11 - 17 of 17 for read_pet (0.23 sec)
-
docs_src/generate_clients/tutorial004.py
import json from pathlib import Path file_path = Path("./openapi.json") openapi_content = json.loads(file_path.read_text()) for path_data in openapi_content["paths"].values(): for operation in path_data.values(): tag = operation["tags"][0] operation_id = operation["operationId"] to_remove = f"{tag}-" new_operation_id = operation_id[len(to_remove) :] operation["operationId"] = new_operation_id
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Fri Mar 04 22:02:18 UTC 2022 - 493 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) -
.github/actions/notify-translations/app/main.py
if not settings.github_event_path.is_file(): raise RuntimeError( f"No github event file available at: {settings.github_event_path}" ) contents = settings.github_event_path.read_text() github_event = PartialGitHubEvent.parse_raw(contents) # Avoid race conditions with multiple labels sleep_time = random.random() * 10 # random number between 0 and 10 seconds logging.info(
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Wed Sep 27 23:01:46 UTC 2023 - 12.4K bytes - Viewed (0) -
cmd/xl-storage-format-v2.go
case 1: switch minor { case 0: err = readMore(size) return buf, err case 1, 2, 3: sz, tmp, err := msgp.ReadBytesHeader(tmp) if err != nil { return nil, fmt.Errorf("readXLMetaNoData(read_meta): unknown metadata version %w", err) } want := int64(sz) + int64(len(buf)-len(tmp)) // v1.1 does not have CRC. if minor < 2 { if err := readMore(want); err != nil { return nil, err
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed May 29 19:14:09 UTC 2024 - 63.6K bytes - Viewed (0) -
src/encoding/json/testdata/code.json.gz
602},{"name":"compressed_test.go","kids":[],"cl_weight":0.25,"touches":1,"min_t":1296925602,"max_t":1296925602,"mean_t":1296925602}],"cl_weight":15.373118548118546,"touches":22,"min_t":1296742960,"max_t":1309542792,"mean_t":1301956144},{"name":"read_test.go","kids":[],"cl_weight":0.844022644022644,"touches":5,"min_t":1298596793,"max_t":1309542792,"mean_t":1304071255},{"name":"elgamal","kids":[{"name":"Makefile","kids":[],"cl_weight":0.07692307692307693,"touches":1,"min_t":1308704449,"max_t":1308...
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 25 04:02:36 UTC 2016 - 117.6K bytes - Viewed (0)