Closed Hi-king closed 2 years ago
solves #278
TaskOnKart.requires() can be written as generator
Task: def requires(): for ... in ...: yield SubTas()
but task_info_formatter is too strict requires() to be List or Tuple.
requires()
List
Tuple
This PR loosen the constraint to request typing.Iterable.
typing.Iterable
LGTM
LGTM👍Thanks!
@Hi-king LGTM! Thank you for cool bugfix!
solves #278
TaskOnKart.requires() can be written as generator
but task_info_formatter is too strict
requires()
to beList
orTuple
.This PR loosen the constraint to request
typing.Iterable
.