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

Remove celery code #39

Open
michaelbukachi opened this issue Jul 11, 2020 · 0 comments
Open

Remove celery code #39

michaelbukachi opened this issue Jul 11, 2020 · 0 comments

Comments

@michaelbukachi
Copy link

When going through the code I noticed that it requires celery:

   if self.screen_content.get('synchronous', False):
            http_task.delay(request_conf=http_request_conf) # Here
        else:
            self.make_request(
                http_request_conf=http_request_conf,
                response_session_key_save=self.screen_content['session_key'],
                session=self.ussd_request.session,
                logger=self.logger
            )

Is it possible to configure a callback so that a user can configure there own async implementation?
I'm willing to do a PR for this.

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