Skip to content

Docs outdated with regards to init? #178

@joernheissler

Description

@joernheissler

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions