Asynchronous Tasks

Celery tasks for prompt app.

These tasks are i/o intensive operations for creating prompt and plugin history records with Celery workers in order to avoid blocking the main app thread. This is advance work to lay groundwork for future high-traffic scenarios.

smarter.apps.provider.tasks.should_log(level)[source]

Check if logging should be done based on the waffle switch.