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