Refererence

Currently, only the function needed for mechanical bull.

async longhorn.actions.handle(client, data, db_url='sqlite://db.sqlite3')[source]

handle to be used together with mechanical bull

Usage:

[username.handlers]
"longhorn.actions" = { db_url = "sqlite:///path/to/your/blog/db.sqlite3" }
Parameters:

db_url – specifies the database to be used. Needs to be the one longhorn is configured to.