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.
This commit is contained in:
23
pyproject.toml
Normal file
23
pyproject.toml
Normal file
@@ -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"]
|
||||||
Reference in New Issue
Block a user