changed behavior of service api
This commit is contained in:
parent
977d68e556
commit
c3f5e09376
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