2024-08-22 08:52:32 +00:00
|
|
|
|
# coding=utf-8
|
|
|
|
|
|
"""
|
|
|
|
|
|
@project: maxkb
|
|
|
|
|
|
@Author:虎
|
|
|
|
|
|
@file: base_parse_qa_handle.py
|
|
|
|
|
|
@date:2024/5/21 14:56
|
|
|
|
|
|
@desc:
|
|
|
|
|
|
"""
|
|
|
|
|
|
from abc import ABC, abstractmethod
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class BaseParseTableHandle(ABC):
|
|
|
|
|
|
@abstractmethod
|
|
|
|
|
|
def support(self, file, get_buffer):
|
|
|
|
|
|
pass
|
|
|
|
|
|
|
|
|
|
|
|
@abstractmethod
|
2024-09-11 10:26:26 +00:00
|
|
|
|
def handle(self, file, get_buffer,save_image):
|
2024-08-22 08:52:32 +00:00
|
|
|
|
pass
|