- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 469 for Lesage (0.66 sec)
-
docs/fr/docs/tutorial/path-params.md
```Python hl_lines="18 21 23" {!../../../docs_src/path_params/tutorial005.py!} ``` Le client recevra une réponse JSON comme celle-ci : ```JSON { "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}`.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 10K bytes - Viewed (0) -
docs/de/docs/tutorial/first-steps.md
### Testen Sie es Öffnen Sie Ihren Browser unter <a href="http://127.0.0.1:8000" class="external-link" target="_blank">http://127.0.0.1:8000.</a> Sie werden folgende JSON-Response sehen: ```JSON {"message": "Hello World"} ``` ### Interaktive API-Dokumentation Gehen Sie als Nächstes auf <a href="http://127.0.0.1:8000/docs" class="external-link" target="_blank">http://127.0.0.1:8000/docs </a>.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Jan 13 12:16:22 GMT 2024 - 10.5K bytes - Viewed (0) -
docs/em/docs/tutorial/handling-errors.md
``` 📥, 🚥 👆 📨 `/unicorns/yolo`, *➡ 🛠️* 🔜 `raise` `UnicornException`. ✋️ ⚫️ 🔜 🍵 `unicorn_exception_handler`. , 👆 🔜 📨 🧹 ❌, ⏮️ 🇺🇸🔍 👔 📟 `418` & 🎻 🎚: ```JSON {"message": "Oops! yolo did something. There goes a rainbow..."} ``` !!! note "📡 ℹ" 👆 💪 ⚙️ `from starlette.requests import Request` & `from starlette.responses import JSONResponse`.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 8.3K bytes - Viewed (0) -
docs/em/docs/tutorial/first-steps.md
``` 👈 ⏸ 🎦 📛 🌐❔ 👆 📱 ➖ 🍦, 👆 🇧🇿 🎰. ### ✅ ⚫️ 📂 👆 🖥 <a href="http://127.0.0.1:8000" class="external-link" target="_blank">http://127.0.0.1:8000</a>. 👆 🔜 👀 🎻 📨: ```JSON {"message": "Hello World"} ``` ### 🎓 🛠️ 🩺 🔜 🚶 <a href="http://127.0.0.1:8000/docs" class="external-link" target="_blank">http://127.0.0.1:8000/docs</a>.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 8.1K bytes - Viewed (0) -
docs/en/docs/tutorial/first-steps.md
### Check it Open your browser at <a href="http://127.0.0.1:8000" class="external-link" target="_blank">http://127.0.0.1:8000</a>. You will see the JSON response as: ```JSON {"message": "Hello World"} ``` ### Interactive API docs Now go to <a href="http://127.0.0.1:8000/docs" class="external-link" target="_blank">http://127.0.0.1:8000/docs</a>.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu May 02 22:37:31 GMT 2024 - 12K bytes - Viewed (0) -
docs/ja/docs/tutorial/handling-errors.md
``` ここで、`/unicorns/yolo`をリクエストすると、*path operation*は`UnicornException`を`raise`します。 しかし、これは`unicorn_exception_handler`で処理されます。 そのため、HTTPステータスコードが`418`で、JSONの内容が以下のような明確なエラーを受け取ることになります: ```JSON {"message": "Oops! yolo did something. There goes a rainbow..."} ``` !!! note "技術詳細" また、`from starlette.requests import Request`と`from starlette.responses import JSONResponse`を使用することもできます。
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 11.8K bytes - Viewed (0) -
docs/ja/docs/tutorial/first-steps.md
``` この行はローカルマシンでアプリが提供されているURLを示しています。 ### チェック ブラウザで<a href="http://127.0.0.1:8000" class="external-link" target="_blank">http://127.0.0.1:8000</a>を開きます。 次のようなJSONレスポンスが表示されます: ```JSON {"message": "Hello World"} ``` ### 対話的APIドキュメント 次に、<a href="http://127.0.0.1:8000/docs" class="external-link" target="_blank">http://127.0.0.1:8000/docs</a>にアクセスします。
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 11.2K bytes - Viewed (0) -
docs/en/docs/alternatives.md
```Python response = requests.get("http://example.com/some/url") ``` The FastAPI counterpart API *path operation* could look like: ```Python hl_lines="1" @app.get("/some/url") def read_url(): return {"message": "Hello World"} ``` See the similarities in `requests.get(...)` and `@app.get(...)`. !!! check "Inspired **FastAPI** to" * Have a simple and intuitive API.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 23.2K bytes - Viewed (0) -
docs/em/docs/alternatives.md
```Python response = requests.get("http://example.com/some/url") ``` FastAPI 😑 🛠️ *➡ 🛠️* 💪 👀 💖: ```Python hl_lines="1" @app.get("/some/url") def read_url(): return {"message": "Hello World"} ``` 👀 🔀 `requests.get(...)` & `@app.get(...)`. !!! check "😮 **FastAPI** " * ✔️ 🙅 & 🏋️ 🛠️. * ⚙️ 🇺🇸🔍 👩🔬 📛 (🛠️) 🔗, 🎯 & 🏋️ 🌌. * ✔️ 🤔 🔢, ✋️ 🏋️ 🛃.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 18.7K bytes - Viewed (0) -
tests/test_include_router_defaults_overrides.py
warnings.simplefilter("always") response = client.get("/openapi.json") assert issubclass(w[-1].category, UserWarning) assert "Duplicate Operation ID" in str(w[-1].message) assert response.json() == { "openapi": "3.1.0", "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/override1": { "get": {
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Jun 30 18:25:16 GMT 2023 - 358.6K bytes - Viewed (0)