Skip to content

ENH: add job decorator that resolves redis connection from flask config - #67

Open
otistamp wants to merge 1 commit into
rq:masterfrom
otistamp:job_decorator
Open

otistamp wants to merge 1 commit into
rq:masterfrom
otistamp:job_decorator

Conversation

@otistamp

@otistamp otistamp commented Aug 23, 2018 •

Copy link
Copy Markdown

allows for decorating a function without needing the app context at time of definition.

def echo_id(id):
    print(id)

echo_id.enqueue(15)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant