Skip to content
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

Docs outdated with regards to init? #178

Open
joernheissler opened this issue Nov 22, 2020 · 0 comments
Open

Docs outdated with regards to init? #178

joernheissler opened this issue Nov 22, 2020 · 0 comments

Comments

@joernheissler
Copy link

https://github.com/theelous3/asks/blob/master/asks/__init__.py#L11-L19
vs.
https://github.com/theelous3/asks/blob/master/docs/source/index.rst

You must specify what event loop asks should use after importing,
and at some point before you run any code that uses asks.
The event loop is set with asks.init().
...
If you forget to initialise asks with an event loop you'll get a RuntimeError.

Can you confirm the docs are outdated?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant