📝 (base.py): add abstract method __init__ to BaseTracer class with required parameters to enforce implementation in subclasses

This commit is contained in:
Gabriel Luiz Freitas Almeida 2024-06-27 15:20:09 -03:00
commit e94d8254fb

View file

@ -3,6 +3,10 @@ from typing import Any, Dict
class BaseTracer(ABC):
@abstractmethod
def __init__(self, trace_name: str, trace_type: str, project_name: str, trace_id: UUID):
raise NotImplementedError
@abstractmethod
def ready(self):
raise NotImplementedError