def __init__(self, tasks_directory, hook_manager, task_class=Task): self._tasks_directory = tasks_directory self._task_class = task_class self._hook_manager = hook_manager self._cache = {} self._task_file_managers = {} self.add_custom_task_file_manager(TaskYAMLFileReader())
def __init__(self, filesystem: FileSystemProvider, plugin_manager, task_problem_types): self._filesystem = filesystem self._plugin_manager = plugin_manager self._cache = {} self._task_file_managers = {} self._task_problem_types = task_problem_types self.add_custom_task_file_manager(TaskYAMLFileReader())
def __init__(self, filesystem: FileSystemProvider, hook_manager, task_problem_types, task_class=Task): self._filesystem = filesystem self._task_class = task_class self._hook_manager = hook_manager self._cache = {} self._task_file_managers = {} self._task_problem_types = task_problem_types self.add_custom_task_file_manager(TaskYAMLFileReader())