From 55909b62dcc7840674d45517acae75d1ba91b7d8 Mon Sep 17 00:00:00 2001 From: demo-bot Date: Sun, 9 Aug 2026 15:09:05 +0000 Subject: [PATCH] decomposer: generate files for Maintain only the latest check result for each monitored target in concurrency-safe memory and expose it through the specified FastAPI current-status endpoint. --- pyproject.toml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 pyproject.toml diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..9fa3e8d --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,23 @@ +[build-system] +requires = ["hatchling"] +build-backend = "hatchling.build" + +[project] +name = "fastapi-current-status" +version = "0.1.0" +description = "Concurrency-safe latest-only check status integration for FastAPI" +requires-python = ">=3.11" +dependencies = ["fastapi>=0.110,<1"] + +[project.optional-dependencies] +test = ["httpx>=0.27,<1", "pytest>=8,<9", "pytest-asyncio>=0.23,<1"] + +[project.scripts] +current-status-transform = "current_status.transform:main" + +[tool.pytest.ini_options] +asyncio_mode = "auto" +testpaths = ["tests"] + +[tool.hatch.build.targets.wheel] +packages = ["src/current_status"]