SD_WebTagManager/python/TranslateParent.py

9 lines
197 B
Python
Raw Normal View History

2026-01-13 16:51:39 +08:00
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