mirror of
https://github.com/LorenEteval/Furious.git
synced 2026-09-29 02:18:02 +03:00
15 lines
293 B
Python
15 lines
293 B
Python
from __future__ import annotations
|
|
|
|
from abc import ABC
|
|
from typing import Any
|
|
|
|
__all__ = ['Encoder']
|
|
|
|
|
|
class Encoder(ABC):
|
|
def encode(self, data: Any, **kwargs) -> Any:
|
|
raise NotImplementedError
|
|
|
|
def decode(self, data: Any, **kwargs) -> Any:
|
|
raise NotImplementedError
|