mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-25 17:22:55 +00:00
21 lines
410 B
Python
21 lines
410 B
Python
# coding=utf-8
|
||
"""
|
||
@project: maxkb
|
||
@Author:虎
|
||
@file: compare.py
|
||
@date:2024/6/7 14:37
|
||
@desc:
|
||
"""
|
||
from abc import abstractmethod
|
||
from typing import List
|
||
|
||
|
||
class Compare:
|
||
@abstractmethod
|
||
def support(self, node_id, fields: List[str], source_value, compare, target_value):
|
||
pass
|
||
|
||
@abstractmethod
|
||
def compare(self, source_value, compare, target_value):
|
||
pass
|