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