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
No related branches found
No related tags found
No related merge requests found
...@@ -51,8 +51,8 @@ class WorkerState(enum.Enum): ...@@ -51,8 +51,8 @@ class WorkerState(enum.Enum):
@attr.s(auto_attribs=True) @attr.s(auto_attribs=True)
class PreTaskCheckParams: class PreTaskCheckParams:
pre_task_check_write: typing.List[str] = [] pre_task_check_write: typing.Iterable[str] = []
pre_task_check_read: typing.List[str] = [] pre_task_check_read: typing.Iterable[str] = []
class PreTaskCheckFailed(PermissionError): class PreTaskCheckFailed(PermissionError):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment