This repository has been archived on 2024-10-10. You can view files and clone it, but cannot push or open issues or pull requests.

21 lines
462 B
Python
Raw Normal View History

2023-10-29 18:18:43 +01:00
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