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

validate that all async methods are actually async #1

Closed
komuw opened this issue Feb 6, 2019 · 1 comment
Closed

validate that all async methods are actually async #1

komuw opened this issue Feb 6, 2019 · 1 comment

Comments

@komuw
Copy link
Owner

komuw commented Feb 6, 2019

if we have something like;

class Task:
    async def async_run(self, *args, **kwargs):
        raise NotImplementedError("run method must be implemented.")

and we expect users to implement the async def async_run method; we should - to the best extent that python affords us - validate that the users implementation is actually async.

@komuw
Copy link
Owner Author

komuw commented Feb 28, 2019

superseded by: #4

@komuw komuw closed this as completed Feb 28, 2019
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