9 lines
197 B
Python
9 lines
197 B
Python
|
|
from abc import abstractmethod
|
||
|
|
from abc import ABC
|
||
|
|
|
||
|
|
|
||
|
|
class TranslateParent(ABC):
|
||
|
|
@abstractmethod
|
||
|
|
def translate_list(self, tag_list: list, target_language: str = "zh") -> dict:
|
||
|
|
pass
|