feat:初始化工程
This commit is contained in:
16
parser/test_parser.py
Normal file
16
parser/test_parser.py
Normal file
@@ -0,0 +1,16 @@
|
||||
from parser.abstract_parsers import AbstractMessageParser
|
||||
|
||||
|
||||
class TestParser(AbstractMessageParser):
|
||||
@property
|
||||
def name(self):
|
||||
return "name"
|
||||
|
||||
def check(self, message) -> bool:
|
||||
return True
|
||||
|
||||
def parse(self, message):
|
||||
return message
|
||||
|
||||
def response(self, parsed_data):
|
||||
return parsed_data
|
||||
Reference in New Issue
Block a user