-
Notifications
You must be signed in to change notification settings - Fork 11
Resource.__iter__() produces the wrong type #161
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
JailGenerator is correct internally. We only provide a class Jail that wraps JailGenerator to ease using the lib non-async. |
the problem is |
Both JailGenerator and Jail are Resources. The return type of |
related errors:
|
The PR #131 was fixed and merged. |
Uh oh!
There was an error while loading. Please reload this page.
in implementing #131, i've tried typing this
__iter__()
method forResource
:the 💣 marks where the issue is:
This is caused by the (supposedly abstract;) function
_create_resource_instance
. In theJails.py
this function returns a Jail (not a JailGenerator) — so, whom do we believe?? ;)Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: