Skip to content

Commit

Permalink
Merge pull request celery#2443 from frewsxcv/patch-1
Browse files Browse the repository at this point in the history
Specify return type for apply_sync
  • Loading branch information
ask committed Feb 12, 2015
2 parents d012994 + 01ca4ed commit e5a5fb7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions celery/app/task.py
Original file line number Diff line number Diff line change
Expand Up @@ -439,6 +439,10 @@ def apply_async(self, args=None, kwargs=None, task_id=None, producer=None,
attribute. Trailing can also be disabled by default using the
:attr:`trail` attribute
:keyword publisher: Deprecated alias to ``producer``.
:rtype :class:`celery.result.AsyncResult`: if
:setting:`CELERY_ALWAYS_EAGER` is not set, otherwise
:class:`celery.result.EagerResult`:
Also supports all keyword arguments supported by
:meth:`kombu.Producer.publish`.
Expand Down

0 comments on commit e5a5fb7

Please sign in to comment.