Work being done on #11

This commit is contained in:
2023-10-29 18:18:43 +01:00
parent 7cda66cffb
commit c9c2d298ef
5 changed files with 176 additions and 55 deletions

View File

@@ -0,0 +1,20 @@
from __future__ import annotations
from abc import ABC, abstractmethod
from typing import Any
class Importer(ABC):
"""
The Importer class represents the object with
functionality to import/export garbage collection
records and convert them to other object types.
"""
@abstractmethod
async def import_data(self, data: Any) -> None:
pass
@abstractmethod
async def export_data(self, data: Any) -> None:
pass