Sam 3a34759094
Some checks failed
Build Simulation and Test / Run All Tests (push) Failing after 8m17s
Add core simulation components and configuration classes
Major rewrite.
2025-11-08 19:17:40 -06:00

23 lines
513 B
Python

"""Base writer interface for output data."""
from abc import ABC, abstractmethod
from typing import Any
class BaseWriter(ABC):
"""Base class for data writers."""
@abstractmethod
def write(self, data: Any) -> bool:
"""Write data to output destination."""
pass
@abstractmethod
def close(self):
"""Close writer and cleanup resources."""
pass
@abstractmethod
def is_ready(self) -> bool:
"""Check if writer is ready for writing."""
pass