You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
builder/__init__.py:225
Telegram not sent: Working outside of request context.
This typically means that you attempted to use functionality that needed
an active HTTP request. Consult the documentation on testing for
information about how to avoid this problem
No calls to request can never be placed inside the [task_queue](https://github.com/Subscribie/module-builder/blob/987d67ede41ceeecfb5b81ae23e5d347d920baeb/__init__.py#L174) because they execute outside of the request context.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
Cause:
request
cannot be used in this context: https://github.com/Subscribie/module-builder/blob/main/__init__.py#L40 becauserequest
is executed as a background task.Describe the solution you'd like
Suggestion:
client_ip
so that the old call to submit_new_site_build becomes:
print
tolog.error
Describe alternatives you've considered
Additional context
No calls to
request
can never be placed inside the[task_queue](https://github.com/Subscribie/module-builder/blob/987d67ede41ceeecfb5b81ae23e5d347d920baeb/__init__.py#L174)
because they execute outside of the request context.The text was updated successfully, but these errors were encountered: