changed behavior of service api
This commit is contained in:
parent
8a31e6bb3e
commit
53e2f2aad0
1 changed files with 7 additions and 2 deletions
|
|
@ -1,9 +1,14 @@
|
||||||
|
|
||||||
class Service:
|
class Service:
|
||||||
def __init__(self, args):
|
def __init__(self):
|
||||||
self.args = args
|
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
def _execute(self):
|
||||||
|
self.pre_execute()
|
||||||
|
self.execute()
|
||||||
|
self.parse_result()
|
||||||
|
self.handle_result()
|
||||||
|
|
||||||
def execute(self):
|
def execute(self):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue