- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 177 for 9000 (0.13 sec)
-
docs/bn/docs/index.md
</details> ### এটা চেক করুন আপনার ব্রাউজার খুলুন <a href="http://127.0.0.1:8000/items/5?q=somequery" class="external-link" target="_blank">http://127.0.0.1:8000/items/5?q=somequery</a> এ। আপনি JSON রেসপন্স দেখতে পাবেন: ```JSON {"item_id": 5, "q": "somequery"} ``` আপনি ইতিমধ্যে একটি API তৈরি করেছেন যা:
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 23:58:47 GMT 2024 - 30.2K bytes - Viewed (0) -
docs/ru/docs/tutorial/debugging.md
Тогда выполнится условие и эта часть кода: ```Python uvicorn.run(app, host="0.0.0.0", port=8000) ``` будет запущена. --- Но этого не произойдет, если вы импортируете этот модуль (файл). Таким образом, если у вас есть файл `importer.py` с таким импортом: ```Python from myapp import app
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 3.8K bytes - Viewed (0) -
docs/fr/docs/tutorial/debugging.md
</div> alors la variable interne `__name__` de votre fichier, créée automatiquement par Python, aura pour valeur la chaîne de caractères `"__main__"`. Ainsi, la section : ```Python uvicorn.run(app, host="0.0.0.0", port=8000) ``` va s'exécuter. --- Cela ne se produira pas si vous importez ce module (fichier). Par exemple, si vous avez un autre fichier `importer.py` qui contient : ```Python from myapp import app
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Mon Mar 06 16:26:49 GMT 2023 - 2.9K bytes - Viewed (0) -
docs/em/docs/tutorial/debugging.md
```Python uvicorn.run(app, host="0.0.0.0", port=8000) ``` 🔜 🏃. --- 👉 🏆 🚫 🔨 🚥 👆 🗄 👈 🕹 (📁). , 🚥 👆 ✔️ ➕1️⃣ 📁 `importer.py` ⏮️: ```Python from myapp import app # Some more code ``` 👈 💼, 🏧 🔢 🔘 `myapp.py` 🔜 🚫 ✔️ 🔢 `__name__` ⏮️ 💲 `"__main__"`. , ⏸: ```Python uvicorn.run(app, host="0.0.0.0", port=8000) ``` 🔜 🚫 🛠️. !!! info
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Apr 01 09:26:04 GMT 2023 - 2.1K bytes - Viewed (0) -
docs/de/docs/how-to/extending-openapi.md
```Python hl_lines="29" {!../../../docs_src/extending_openapi/tutorial001.py!} ``` ### Testen Sobald Sie auf <a href="http://127.0.0.1:8000/redoc" class="external-link" target="_blank">http://127.0.0.1:8000/redoc</a> gehen, werden Sie sehen, dass Ihr benutzerdefiniertes Logo verwendet wird (in diesem Beispiel das Logo von **FastAPI**):
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Mar 14 16:44:05 GMT 2024 - 3.7K bytes - Viewed (0) -
docs_src/body_multiple_params/tutorial001_py310.py
description: str | None = None price: float tax: float | None = None @app.put("/items/{item_id}") async def update_item( *, item_id: int = Path(title="The ID of the item to get", ge=0, le=1000), q: str | None = None, item: Item | None = None, ): results = {"item_id": item_id} if q: results.update({"q": q}) if item: results.update({"item": item})
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri May 13 23:38:22 GMT 2022 - 546 bytes - Viewed (0) -
docs_src/body_multiple_params/tutorial001_an_py310.py
description: str | None = None price: float tax: float | None = None @app.put("/items/{item_id}") async def update_item( item_id: Annotated[int, Path(title="The ID of the item to get", ge=0, le=1000)], q: str | None = None, item: Item | None = None, ): results = {"item_id": item_id} if q: results.update({"q": q}) if item: results.update({"item": item})
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Mar 18 12:29:59 GMT 2023 - 579 bytes - Viewed (0) -
scripts/playwright/separate_openapi_schemas/image02.py
def run(playwright: Playwright) -> None: browser = playwright.chromium.launch(headless=False) context = browser.new_context(viewport={"width": 960, "height": 1080}) page = context.new_page() page.goto("http://localhost:8000/docs") page.get_by_text("GET/items/Read Items").click() page.get_by_role("button", name="Try it out").click() page.get_by_role("button", name="Execute").click() page.screenshot(
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Aug 25 19:10:22 GMT 2023 - 873 bytes - Viewed (0) -
docs/en/docs/tutorial/security/first-steps.md
```console $ uvicorn main:app --reload <span style="color: green;">INFO</span>: Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit) ``` </div> ## Check it Go to the interactive docs at: <a href="http://127.0.0.1:8000/docs" class="external-link" target="_blank">http://127.0.0.1:8000/docs</a>. You will see something like this: <img src="/img/tutorial/security/image01.png">
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Wed Mar 13 19:02:19 GMT 2024 - 8.9K bytes - Viewed (0) -
docs/pt/docs/tutorial/query-params-str-validations.md
```Python hl_lines="9" {!../../../docs_src/query_params_str_validations/tutorial011.py!} ``` Então, com uma URL assim: ``` http://localhost:8000/items/?q=foo&q=bar ``` você receberá os múltiplos *parâmetros de consulta* `q` com os valores (`foo` e `bar`) em uma lista (`list`) Python dentro da *função de operação de rota*, no *parâmetro da função* `q`.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat May 14 11:59:59 GMT 2022 - 9.3K bytes - Viewed (0)