I believe there is a bug with the accepts() method when using interactive.
I set up a repo here demonstrating the issue.
This is the error:
I believe what is happening is that accepts is attempting to iterate with an of statement here, but it gets back an object from choices() which cannot be iterated over with of (it could be iterated over with in, which would return the object's keys).
I believe there is a bug with the
accepts()method when usinginteractive.I set up a repo here demonstrating the issue.
This is the error:
I believe what is happening is that
acceptsis attempting to iterate with anofstatement here, but it gets back an object fromchoices()which cannot be iterated over withof(it could be iterated over within, which would return the object's keys).