Skip to content
Snippets Groups Projects
Commit 9632b1b2 authored by Sybren A. Stüvel's avatar Sybren A. Stüvel
Browse files

Declare PreTaskCheckParams as Iterable

This allows both tuple and list.
parent 2a079061
Branches
Tags
No related merge requests found
......@@ -51,8 +51,8 @@ class WorkerState(enum.Enum):
@attr.s(auto_attribs=True)
class PreTaskCheckParams:
pre_task_check_write: typing.List[str] = []
pre_task_check_read: typing.List[str] = []
pre_task_check_write: typing.Iterable[str] = []
pre_task_check_read: typing.Iterable[str] = []
class PreTaskCheckFailed(PermissionError):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment