celery icon indicating copy to clipboard operation
celery copied to clipboard

Document headers argument

Open juanrossi opened this issue 11 years ago • 5 comments

At the moment there's no much information regarding headers argument for apply_async (and I think also applies to retry).

I found out about this reading the changelog for version 3.1, but maybe it could be specified as an optional property for apply_async in the documentation.

I can provide the PR for this if you want. Let me know if you agree.

juanrossi avatar Aug 06 '15 19:08 juanrossi

Docs improvements are always welcome!

malinoff avatar Aug 06 '15 20:08 malinoff

@malinoff Awesome. I'm trying to build the changes I applied but I'm getting the following error:

$ make html
mkdir -p .build/html .build/doctrees
sphinx-build -b html -d .build/doctrees   . .build/html
Running Sphinx v1.3.1

Extension error:
Could not import extension celery.contrib.sphinx (exception: cannot import name get_fdmax)
make: *** [html] Error 1

I searched a little but wasn't able to find any information regarding that error. I'm using Mac OS X 10.10.3 with virtualenv (All docs requirements installed) and Python 2.7.6. Should I use Python 3? Thanks.

juanrossi avatar Aug 06 '15 21:08 juanrossi

I followed those steps and got that error On Aug 7, 2015 12:13 AM, "Dmitry Malinovsky" [email protected] wrote:

https://github.com/celery/celery/blob/master/CONTRIBUTING.rst#building-the-documentation

— Reply to this email directly or view it on GitHub https://github.com/celery/celery/issues/2750#issuecomment-128576768.

juanrossi avatar Aug 07 '15 03:08 juanrossi

@juanrossi yeah sorry, you need Celery installed to build docs.

malinoff avatar Aug 07 '15 03:08 malinoff

@malinoff worked great with celery installed, thanks. I added the PR.

juanrossi avatar Aug 10 '15 20:08 juanrossi