I'm trying to async a class method but getting TypeError: EmailClient.send_email() missing 1 required positional argument: 'self' error. Am I right in assuming that huey only supports regular functions and not class methods? I couldnt find this in the docs?
Happy to provide a PR to the docs if that's the case.
No classmethods are not supported, it must be a regular function. Your regular function can then call any classmethods if you wish to do that, of course.
Thanks for the library!
I'm trying to async a class method but getting
TypeError: EmailClient.send_email() missing 1 required positional argument: 'self'
error. Am I right in assuming that huey only supports regular functions and not class methods? I couldnt find this in the docs?Happy to provide a PR to the docs if that's the case.