Parameters ---------- obj : object The object for logging. name : str The name of the object. For example "a.b.c" We may log a lot of objects to a same name Returns ------- str | Path The stor
(
self,
obj: object,
tag: str = "",
timestamp: datetime | None = None,
)
| 41 | |
| 42 | @abstractmethod |
| 43 | def log( |
| 44 | self, |
| 45 | obj: object, |
| 46 | tag: str = "", |
| 47 | timestamp: datetime | None = None, |
| 48 | ) -> str | Path: |
| 49 | """ |
| 50 | |
| 51 | Parameters |
| 52 | ---------- |
| 53 | obj : object |
| 54 | The object for logging. |
| 55 | name : str |
| 56 | The name of the object. For example "a.b.c" |
| 57 | We may log a lot of objects to a same name |
| 58 | |
| 59 | Returns |
| 60 | ------- |
| 61 | str | Path |
| 62 | The storage identifier of the object. |
| 63 | """ |
| 64 | ... |
| 65 | |
| 66 | @abstractmethod |
| 67 | def iter_msg(self) -> Generator[Message, None, None]: |
no outgoing calls
no test coverage detected