📝 (base.py): add abstract method __init__ to BaseTracer class with required parameters to enforce implementation in subclasses
This commit is contained in:
parent
f8ace79af3
commit
e94d8254fb
1 changed files with 4 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue