mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
21 lines
435 B
Python
21 lines
435 B
Python
# coding=utf-8
|
||
"""
|
||
@project: maxkb
|
||
@Author:虎
|
||
@file: base_split_handle.py
|
||
@date:2024/3/27 18:13
|
||
@desc:
|
||
"""
|
||
from abc import ABC, abstractmethod
|
||
from typing import List
|
||
|
||
|
||
class BaseSplitHandle(ABC):
|
||
@abstractmethod
|
||
def support(self, file, get_buffer):
|
||
pass
|
||
|
||
@abstractmethod
|
||
def handle(self, file, pattern_list: List, with_filter: bool, limit: int, get_buffer, save_image):
|
||
pass
|