示例#1
0
 def __init__(self, tasks_api=None):
     self.api = tasks_api or tasks.ApiAdapter()
示例#2
0
 def __init__(self, tasks_api=None):
     if tasks_api is None:
         tasks_api = tasks.ApiAdapter()
     self.api = tasks_api