refacto: reorganize POC into clean architecture for modularity

This commit is contained in:
Alexis Fourmaux 2026-05-09 17:06:57 +02:00
parent 9dd53b1b24
commit 0830c2f182
14 changed files with 194 additions and 104 deletions

View file

@ -0,0 +1,7 @@
from abc import ABC, abstractmethod
class ReadingRepository(ABC):
@abstractmethod
def insert_reading(self, device_id: str, pulse_count: int) -> None:
"""Persiste un relevé"""
...