- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 179 for file_path (0.18 sec)
-
tests/test_tutorial/test_path_params/test_tutorial004.py
assert response.status_code == 200, response.text assert response.json() == {"file_path": "home/johndoe/myfile.txt"} def test_root_file_path(): response = client.get("/files//home/johndoe/myfile.txt") print(response.content) assert response.status_code == 200, response.text assert response.json() == {"file_path": "/home/johndoe/myfile.txt"} def test_openapi_schema():
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 3.3K bytes - Viewed (0) -
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: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Mar 04 22:02:18 UTC 2022 - 493 bytes - Viewed (0) -
ci/official/utilities/extract_resultstore_links.py
testsuite.attrib = suite_attrib indent_xml(testsuites) tree = ElemTree.ElementTree(testsuites) file_path = os.path.join(output_path) with open(file_path, 'wb') as f: f.write(b'<?xml version="1.0"?>\n') tree.write(f) if verbose: print(f'\nWrote XML with Bazel invocation results to {file_path}') def print_invocation_results(result_store_dict: ResultDictType):
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Wed Nov 08 17:50:27 UTC 2023 - 10.9K bytes - Viewed (0) -
docs/em/docs/tutorial/path-params.md
``` 👆 👩💻 👆 🔜 🤚 🎻 📨 💖: ```JSON { "model_name": "alexnet", "message": "Deep Learning FTW!" } ``` ## ➡ 🔢 ⚗ ➡ ➡️ 💬 👆 ✔️ *➡ 🛠️* ⏮️ ➡ `/files/{file_path}`. ✋️ 👆 💪 `file_path` ⚫️ 🔌 *➡*, 💖 `home/johndoe/myfile.txt`. , 📛 👈 📁 🔜 🕳 💖: `/files/home/johndoe/myfile.txt`. ### 🗄 🐕🦺 🗄 🚫 🐕🦺 🌌 📣 *➡ 🔢* 🔌 *➡* 🔘, 👈 💪 ↘️ 😐 👈 ⚠ 💯 & 🔬.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 7.7K bytes - Viewed (0) -
docs/tr/docs/tutorial/path-params.md
```JSON { "model_name": "alexnet", "message": "Deep Learning FTW!" } ``` ## Yol İçeren Yol Parametreleri Farz edelim ki elinizde `/files/{file_path}` isminde bir *yol operasyonu* var. Fakat `file_path` değerinin `home/johndoe/myfile.txt` gibi bir *yol* barındırmasını istiyorsunuz. Sonuç olarak, oluşturmak istediğin URL `/files/home/johndoe/myfile.txt` gibi bir şey olacaktır.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 10.8K bytes - Viewed (0) -
docs/de/docs/tutorial/path-params.md
```JSON { "model_name": "alexnet", "message": "Deep Learning FTW!" } ``` ## Pfad Parameter die Pfade enthalten Angenommen, Sie haben eine *Pfadoperation* mit einem Pfad `/files/{file_path}`. Aber `file_path` soll selbst einen *Pfad* enthalten, etwa `home/johndoe/myfile.txt`. Sprich, die URL für diese Datei wäre etwas wie: `/files/home/johndoe/myfile.txt`. ### OpenAPI Unterstützung
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 10.2K bytes - Viewed (0) -
scripts/docs.py
if lang_path.is_dir(): langs.append(lang_path.name) print(json.dumps(langs)) @app.command() def generate_docs_src_versions_for_file(file_path: Path) -> None: target_versions = ["py39", "py310"] base_content = file_path.read_text(encoding="utf-8") previous_content = {base_content} for target_version in target_versions: version_result = subprocess.run( [
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Oct 08 11:01:17 UTC 2024 - 13.5K bytes - Viewed (0) -
docs/fr/docs/tutorial/path-params.md
{ "model_name": "alexnet", "message": "Deep Learning FTW!" } ``` ## Paramètres de chemin contenant des chemins Disons que vous avez une *fonction de chemin* liée au chemin `/files/{file_path}`. Mais que `file_path` lui-même doit contenir un *chemin*, comme `home/johndoe/myfile.txt` par exemple. Donc, l'URL pour ce fichier pourrait être : `/files/home/johndoe/myfile.txt`. ### Support d'OpenAPI
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 10K bytes - Viewed (0) -
docs/ko/docs/tutorial/path-params.md
``` 클라이언트는 아래의 JSON 응답을 얻습니다: ```JSON { "model_name": "alexnet", "message": "Deep Learning FTW!" } ``` ## 경로를 포함하는 경로 매개변수 경로를 포함하는 *경로 작동* `/files/{file_path}`이 있다고 해봅시다. 그런데 이 경우 `file_path` 자체가 `home/johndoe/myfile.txt`와 같은 경로를 포함해야 합니다. 이때 해당 파일의 URL은 다음처럼 됩니다: `/files/home/johndoe/myfile.txt`. ### OpenAPI 지원
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 9.8K bytes - Viewed (0) -
docs/ru/docs/tutorial/path-params.md
```JSON { "model_name": "alexnet", "message": "Deep Learning FTW!" } ``` ## Path-параметры, содержащие пути Предположим, что есть *операция пути* с путем `/files/{file_path}`. Но вам нужно, чтобы `file_path` сам содержал *путь*, например, `home/johndoe/myfile.txt`. Тогда URL для этого файла будет такой: `/files/home/johndoe/myfile.txt`. ### Поддержка OpenAPI
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 14.1K bytes - Viewed (0)