- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 42 for Glover (0.18 sec)
-
docs/ja/docs/project-generation.md
* ビルド時にフロントエンドテスト実行 (無効化も可能)。 * 可能な限りモジュール化されているのでそのまま使用できますが、Vue CLIで再生成したり、必要に応じて作成したりして、必要なものを再利用可能。 * PostgreSQLデータベースのための**PGAdmin**。(PHPMyAdminとMySQLを使用できるように簡単に変更可能) * Celeryジョブ監視のための**Flower**。 * **Traefik**を使用してフロントエンドとバックエンド間をロードバランシング。同一ドメインに配置しパスで区切る、ただし、異なるコンテナで処理。 * Traefik統合。Let's Encrypt **HTTPS**証明書の自動生成を含む。 * GitLab **CI** (継続的インテグレーション)。フロントエンドおよびバックエンドテストを含む。 ## フルスタック FastAPI Couchbase
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sun Oct 18 05:47:45 GMT 2020 - 7.1K bytes - Viewed (0) -
tests/test_tutorial/test_websockets/test_tutorial002_an.py
) # pragma: no cover def test_websocket_invalid_data(): client = TestClient(app) with pytest.raises(WebSocketDisconnect): with client.websocket_connect("/items/foo/ws?q=bar&token=some-token"): pytest.fail( "did not raise WebSocketDisconnect on __enter__"
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Sat Mar 18 12:29:59 GMT 2023 - 3.6K bytes - Viewed (0) -
tests/test_tutorial/test_background_tasks/test_tutorial001.py
from docs_src.background_tasks.tutorial001 import app client = TestClient(app) def test(): log = Path("log.txt") if log.is_file(): os.remove(log) # pragma: no cover response = client.post("/send-notification/******@****.***") assert response.status_code == 200, response.text assert response.json() == {"message": "Notification sent in the background"}
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Jul 09 18:06:12 GMT 2020 - 578 bytes - Viewed (0) -
docs/zh/docs/project-generation.md
* 基于 **Nginx** 的 Docker 服务器(优化了 Vue-router 配置) * Docker 多阶段构建,无需保存或提交编译的代码 * 在构建时运行前端测试(可禁用) * 尽量模块化,开箱即用,但仍可使用 Vue CLI 重新生成或创建所需项目,或复用所需内容 * 使用 **PGAdmin** 管理 PostgreSQL 数据库,可轻松替换为 PHPMyAdmin 或 MySQL * 使用 **Flower** 监控 Celery 任务 * 使用 **Traefik** 处理前后端负载平衡,可把前后端放在同一个域下,按路径分隔,但在不同容器中提供服务 * Traefik 集成,包括自动生成 Let's Encrypt **HTTPS** 凭证 * GitLab **CI**(持续集成),包括前后端测试 ## 全栈 FastAPI + Couchbase
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sun Jan 28 18:03:58 GMT 2024 - 5.1K bytes - Viewed (0) -
docs/en/docs/how-to/custom-docs-ui-assets.md
By default, those files are served from a <abbr title="Content Delivery Network: A service, normally composed of several servers, that provides static files, like JavaScript and CSS. It's commonly used to serve those files from the server closer to the client, improving performance.">CDN</abbr>. But it's possible to customize it, you can set a specific CDN, or serve the files yourself. ## Custom CDN for JavaScript and CSS
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Mon Oct 30 09:58:58 GMT 2023 - 7.5K bytes - Viewed (0) -
tests/test_response_class_no_mediatype.py
@app.get( "/a", response_class=Response, responses={500: {"description": "Error", "model": JsonApiError}}, ) async def a(): pass # pragma: no cover @app.get("/b", responses={500: {"description": "Error", "model": Error}}) async def b(): pass # pragma: no cover client = TestClient(app) def test_openapi_schema(): response = client.get("/openapi.json")
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Jun 30 18:25:16 GMT 2023 - 3.3K bytes - Viewed (0) -
tests/test_tutorial/test_response_model/test_tutorial003_04.py
from fastapi.exceptions import FastAPIError def test_invalid_response_model(): with pytest.raises(FastAPIError): from docs_src.response_model.tutorial003_04 import app
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Tue Jan 10 16:22:47 GMT 2023 - 236 bytes - Viewed (0) -
tests/test_tutorial/test_response_model/test_tutorial003_04_py310.py
from ...utils import needs_py310 @needs_py310 def test_invalid_response_model(): with pytest.raises(FastAPIError): from docs_src.response_model.tutorial003_04_py310 import app
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Tue Jan 10 16:22:47 GMT 2023 - 289 bytes - Viewed (0) -
tests/test_filter_pydantic_sub_model/app_pv1.py
username: str class ModelC(ModelB): password: str class ModelA(BaseModel): name: str description: Optional[str] = None model_b: ModelB @validator("name") def lower_username(cls, name: str, values): if not name.endswith("A"): raise ValueError("name must end in A") return name async def get_model_c() -> ModelC:
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Jul 07 17:12:13 GMT 2023 - 784 bytes - Viewed (0) -
tests/test_additional_responses_bad.py
from fastapi import FastAPI from fastapi.testclient import TestClient app = FastAPI() @app.get("/a", responses={"hello": {"description": "Not a valid additional response"}}) async def a(): pass # pragma: no cover openapi_schema = { "openapi": "3.1.0", "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/a": { "get": { "responses": {
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Jun 30 18:25:16 GMT 2023 - 1.1K bytes - Viewed (0)