- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 68 for Awesome (0.03 sec)
-
docs_src/settings/app02_an_py39/test_main.py
app.dependency_overrides[get_settings] = get_settings_override def test_app(): response = client.get("/info") data = response.json() assert data == { "app_name": "Awesome API", "admin_email": "******@****.***", "items_per_user": 50,
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Mar 18 12:29:59 UTC 2023 - 515 bytes - Viewed (0) -
docs/ru/docs/advanced/middleware.md
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 6.6K bytes - Viewed (0) -
docs_src/settings/tutorial001_py39.py
from fastapi import FastAPI from pydantic_settings import BaseSettings class Settings(BaseSettings): app_name: str = "Awesome API" admin_email: str items_per_user: int = 50 settings = Settings() app = FastAPI() @app.get("/info") async def info(): return { "app_name": settings.app_name, "admin_email": settings.admin_email, "items_per_user": settings.items_per_user,
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 419 bytes - Viewed (0) -
tests/test_tutorial/test_settings/test_tutorial001.py
def test_settings(app): client = TestClient(app) response = client.get("/info") assert response.status_code == 200, response.text assert response.json() == { "app_name": "Awesome API", "admin_email": "******@****.***", "items_per_user": 50,
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 12:54:56 UTC 2025 - 690 bytes - Viewed (0) -
docs_src/settings/app02_py39/test_main.py
app.dependency_overrides[get_settings] = get_settings_override def test_app(): response = client.get("/info") data = response.json() assert data == { "app_name": "Awesome API", "admin_email": "******@****.***", "items_per_user": 50,
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 515 bytes - Viewed (0) -
docs_src/metadata/tutorial001_py39.py
from fastapi import FastAPI description = """ ChimichangApp API helps you do awesome stuff. 🚀 ## Items You can **read items**. ## Users You will be able to: * **Create users** (_not implemented_). * **Read users** (_not implemented_). """ app = FastAPI( title="ChimichangApp", description=description, summary="Deadpool's favorite app. Nuff said.", version="0.0.1",
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 805 bytes - Viewed (0) -
docs/ja/docs/virtual-environments.md
```console $ which python /home/user/code/awesome-project/.venv/bin/python ``` </div> `.venv/bin/python` にある `python` バイナリが、プロジェクト(この場合は `awesome-project` )内に表示されていれば、正常に動作しています 🎉。 //// //// tab | Windows PowerShell <div class="termy"> ``` console $ Get-Command python C:\Users\user\code\awesome-project\.venv\Scripts\python ``` </div>
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Mar 19 12:22:33 UTC 2025 - 27.8K bytes - Viewed (0) -
tests/test_tutorial/test_metadata/test_tutorial001_1.py
"openapi": "3.1.0", "info": { "title": "ChimichangApp", "summary": "Deadpool's favorite app. Nuff said.", "description": "\nChimichangApp API helps you do awesome stuff. 🚀\n\n## Items\n\nYou can **read items**.\n\n## Users\n\nYou will be able to:\n\n* **Create users** (_not implemented_).\n* **Read users** (_not implemented_).\n", "termsOfService": "http://example.com/terms/",
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 1.7K bytes - Viewed (0) -
docs/en/docs/advanced/middleware.md
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 4.4K bytes - Viewed (0) -
tests/test_tutorial/test_settings/test_app02.py
def test_settings(main_mod: ModuleType, monkeypatch: MonkeyPatch): monkeypatch.setenv("ADMIN_EMAIL", "******@****.***") settings = main_mod.get_settings() assert settings.app_name == "Awesome API" assert settings.items_per_user == 50 def test_override_settings(test_main_mod: ModuleType):
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 20 15:55:38 UTC 2025 - 1K bytes - Viewed (0)