from dataclasses import dataclass @dataclass class HealthCheck: healthy: bool message: str