Commit 887fbe1c authored by Ahmad Anvari's avatar Ahmad Anvari

Change methods of base model class

parent 8baea8f3
......@@ -14,8 +14,14 @@ class Model(ABC):
def store(self):
pass
@staticmethod
@abstractmethod
def get_collection():
pass
@staticmethod
@abstractmethod
def get_collection(self):
def dict_to_object(dictionary):
pass
@abstractmethod
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment