From ca0f498d4e47a05996ab9bb3cf8eecba16ada7a5 Mon Sep 17 00:00:00 2001 From: Bertrand Benjamin Date: Wed, 13 Apr 2022 11:29:30 +0200 Subject: [PATCH] fix: list to set in typehints --- bopytex/scheduler.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bopytex/scheduler.py b/bopytex/scheduler.py index 212c726..1004136 100644 --- a/bopytex/scheduler.py +++ b/bopytex/scheduler.py @@ -31,12 +31,12 @@ class Scheduler: ] @property - def all_deps(self) -> list[str]: + def all_deps(self) -> set[str]: """List dependencies of all tasks""" return {d for task in self.tasks for d in task.deps} @property - def all_output(self) -> list[str]: + def all_output(self) -> set[str]: """List ouput of all tasks""" return {task.output for task in self.tasks}