Skip to content
This repository was archived by the owner on Oct 30, 2026. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions prek.toml
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,17 @@ hooks = [
types_or = ["python"],
additional_dependencies = ["uv==0.13.0"]
},
{
id = "pyright-verifytypes-server",
name = "pyright-verifytypes-server",
stages = ["pre-push"],
# Check our exports without auditing Flask's third-party annotations.
entry = "uv run --group=dev -m pyright --verifytypes vws_mock_server --ignoreexternal",
language = "python",
pass_filenames = false,
types_or = ["python", "toml"],
additional_dependencies = ["uv==0.13.0"]
},
{
id = "ty",
name = "ty",
Expand Down
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ dependencies = [
"opencv-contrib-python-headless>=5.0.0.93",
"pillow>=12.2.0",
"pydantic>=2.6",
"pydantic-settings>=2.6.1",
"pyteenybrisque>=0.1.1",
"requests>=2.32.3",
"responses>=0.25.3",
Expand Down
12 changes: 9 additions & 3 deletions server/README.rst
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
VWS mock server
===============

This separately buildable project owns server code while it is prepared for extraction.
The health probe is migrated first.
The three Flask services follow in separate changes.
This separately buildable project contains the VWS, VWQ and target-manager Flask services and their health probe.
Shared models, validation and API behavior stay in ``vws-python-mock``.

Build and install
Expand All @@ -26,6 +24,14 @@ The server consumes public core models and ``mock_vws.server_api``.
Its runtime dependencies do not include the contract suite or test adapters.
Consumers load those development dependencies explicitly.

Services
--------

Each service runs in its own container and listens on port 5000.
The service modules are ``vws_mock_server.vws``, ``vws_mock_server.vwq`` and ``vws_mock_server.target_manager``.
The published image names, host environment variables and three-service deployment remain unchanged.
Compatibility modules under ``mock_vws._flask_server`` forward to these implementations when the server extra is installed.

Health checks
-------------

Expand Down
Loading
Loading