Update command/command_interface.py
Browse files
command/command_interface.py
CHANGED
@@ -5,12 +5,12 @@ from abc import ABC, abstractmethod
|
|
5 |
class CommandHandler(ABC):
|
6 |
# {"base": {"name": command}, "advance": {"name": command}}
|
7 |
@abstractmethod
|
8 |
-
def get_command() -> Dict[str, Dict[str, list]]
|
9 |
"Method to get command from yaml file and return dictionary"
|
10 |
pass
|
11 |
|
12 |
@abstractmethod
|
13 |
-
def is_contains(
|
14 |
"""Method to check contains command in text or not"""
|
15 |
pass
|
16 |
|
|
|
5 |
class CommandHandler(ABC):
|
6 |
# {"base": {"name": command}, "advance": {"name": command}}
|
7 |
@abstractmethod
|
8 |
+
def get_command() -> Dict[str, Dict[str, list]]:
|
9 |
"Method to get command from yaml file and return dictionary"
|
10 |
pass
|
11 |
|
12 |
@abstractmethod
|
13 |
+
def is_contains() -> bool:
|
14 |
"""Method to check contains command in text or not"""
|
15 |
pass
|
16 |
|