MCPcopy Create free account

hub / github.com/celery/celery / functions

Functions9,499 in github.com/celery/celery

↓ 608 callersMethods
(*args, **kwargs)
t/unit/tasks/test_canvas.py:1291
↓ 597 callersMethodraises
(exc)
t/unit/tasks/test_trace.py:48
↓ 465 callersMethodget
(self, key)
t/unit/backends/test_redis.py:113
↓ 267 callersMethodsi
Create immutable signature. Shortcut for ``.si(*a, **k) -> .signature(a, k, immutable=True)``.
celery/app/task.py:1078
↓ 254 callersMethodapply_async
(self, *args, **kwargs)
t/unit/tasks/test_tasks.py:36
↓ 243 callersFunctionchord
(self, header, body, partial_args=(), interval=None, countdown=1, max_retries=None, eager=False,
celery/app/builtins.py:206
↓ 201 callersMethoddelay
(ret)
t/unit/backends/test_gcs.py:408
↓ 200 callersMethodset
(self, key, value, ex=None, nx=False)
t/unit/backends/test_redis.py:128
↓ 187 callersMethodobject
(self, target, attribute, *args, **kwargs)
t/unit/conftest.py:591
↓ 144 callersMethodpop
Remove the topmost item from the stack. Note: Will return the old value or `None` if the stack was already empty.
celery/utils/threads.py:269
↓ 133 callersMethodAsyncResult
Get AsyncResult instance for the specified task. Arguments: task_id (str): Task id to get result for.
celery/app/task.py:1050
↓ 121 callersMethodapply
()
t/unit/tasks/test_canvas.py:804
↓ 120 callersMethodstart
(self, **kwargs)
t/unit/app/test_beat.py:45
↓ 105 callersMethodget
(self, propagate=True, **kwargs)
t/unit/tasks/test_result.py:714
↓ 97 callersMethoditems
(self)
celery/canvas.py:1001
↓ 93 callersMethodensure_chords_allowed
(self)
celery/backends/base.py:1066
↓ 93 callersMethodget
(self, key, default=None)
celery/app/task.py:177
↓ 91 callersMethodjoin
(self, r, propagate=False, max_retries=10, **kwargs)
celery/contrib/testing/manager.py:113
↓ 89 callersMethodupdate
(self)
t/unit/worker/test_worker.py:679
↓ 85 callersMethodformat
Format routing table into string for log dumps.
celery/app/amqp.py:181
↓ 85 callersFunctionsignature
Create new signature. - if the first argument is a signature already then it's cloned. - if the first argument is a dict, then a Signature ve
celery/canvas.py:2825
↓ 84 callersMethoddelete
(self, key)
t/unit/backends/test_redis.py:141
↓ 83 callersMethodfreeze
(self, _id=None, group_id=None, chord=None, root_id=None, parent_id=None, group_index=None)
celery/canvas.py:2188
↓ 78 callersMethodtest
(self)
t/unit/utils/test_objects.py:13
↓ 75 callersMethodstore_result
(tid, meta, state, **kwargs)
t/unit/worker/test_request.py:139
↓ 74 callersFunctionget_redis_connection
()
t/integration/tasks.py:21
↓ 74 callersMethodon_chord_part_return
(self, request, state, result, **kwargs)
celery/backends/base.py:1016
↓ 73 callersMethod_get_current_object
Get current object. This is useful if you want the real object behind the proxy at a time for performance reasons or because
celery/local.py:97
↓ 73 callersMethodxRequest
(self, name=None, id=None, args=None, kwargs=None, on_ack=None, on_reject=None, Request=Reque
t/unit/worker/test_request.py:53
↓ 72 callersMethodreplace
Replace this task, with a new task inheriting the task id. Execution of the host task ends immediately and no subsequent statements w
celery/app/task.py:1126
↓ 71 callersMethodget
See :meth:`join`. This is here for API compatibility with :class:`AsyncResult`, in addition it uses :meth:`join_native` if available
celery/result.py:743
↓ 71 callersMethodlink_error
(self, sig)
celery/canvas.py:1989
↓ 70 callersMethodclear
Remove all results from this set.
celery/result.py:657
↓ 63 callersMethodget_task_meta
Get task meta from backend. if always_retry_backend_operation is activated, in the event of a recoverable exception, then retry opera
celery/backends/base.py:934
↓ 61 callersMethodget_consumer
(self, no_hub=False, **kwargs)
t/unit/worker/test_consumer.py:69
↓ 61 callersMethodnow
(self)
t/unit/tasks/test_tasks.py:1094
↓ 60 callersMethodencode
(self, data)
celery/backends/base.py:693
↓ 57 callersMethodupdate
(self, *args, **kwargs)
celery/app/task.py:154
↓ 56 callersMethodconnect
(self, *args, **kwargs)
t/unit/backends/test_cassandra.py:472
↓ 55 callersMethodstamp
(self, visitor=None, append_stamps=False, **headers)
celery/canvas.py:1955
↓ 54 callersMethodget_request
(self, sig, Request=Request, exclude_headers=None,
t/unit/worker/test_request.py:189
↓ 53 callersMethoddecode
(self, payload)
celery/backends/base.py:710
↓ 53 callersFunctionget_logger
Get logger by name.
celery/utils/log.py:97
↓ 52 callersMethodadd
Add new queue. The first argument can either be a :class:`kombu.Queue` instance, or the name of a queue. If the former the rest of t
celery/app/amqp.py:143
↓ 51 callersMethodis_due
(self, last_run_at)
t/unit/app/test_beat.py:176
↓ 51 callersMethodon_failure
Error handler. This is run by the worker when the task fails. Arguments: exc (Exception): The exception raised by the ta
celery/app/task.py:1280
↓ 50 callersMethodGroupResult
Create new group result instance. See Also: :class:`celery.result.GroupResult`.
celery/app/base.py:1667
↓ 48 callersMethodget_consumer
(self)
t/unit/backends/test_redis.py:310
↓ 45 callersFunctioncall
Call a task by name.
celery/bin/call.py:58
↓ 45 callersMethodlink
(value, extra)
t/unit/tasks/test_trace.py:61
↓ 44 callersMethodget_key_for_group
Get the cache key for a group by id.
celery/backends/base.py:1252
↓ 43 callersMethodget_pidbox
(self)
t/unit/app/test_beat.py:1503
↓ 43 callersMethodmark_as_done
Mark task as successfully executed.
celery/backends/base.py:290
↓ 43 callersMethodsleep
Sleep on the event loop.
t/unit/backends/test_asynchronous.py:380
↓ 42 callersMethodsend
(self, sig, on_error=None)
celery/apps/multi.py:209
↓ 41 callersFunctionasynloop
Non-blocking event loop.
celery/worker/loops.py:65
↓ 41 callersMethodhandle
(self, record)
t/unit/app/test_log.py:441
↓ 41 callersMethodtrace
(self, *args, **kwargs)
t/unit/tasks/test_trace.py:53
↓ 40 callersMethoddisconnect
(self)
t/unit/backends/test_redis.py:43
↓ 40 callersMethodjoin
(self, propagate=True, **kwargs)
t/unit/tasks/test_chord.py:39
↓ 40 callersMethodkeys
(self)
t/unit/backends/test_base.py:1260
↓ 40 callersMethodstop
(self, **kwargs)
t/unit/app/test_beat.py:48
↓ 38 callersMethodsend_task
(self, name=None, args=None, kwargs=None, **options)
t/unit/app/test_beat.py:144
↓ 37 callersFunctionpatching
Monkeypath.setattr shortcut. Example: .. code-block:: python >>> def test_foo(patching): >>> # execv value here will b
t/unit/conftest.py:636
↓ 36 callersMethodcrontab
(self, *args, **kwargs)
t/unit/app/test_schedules.py:731
↓ 35 callersMethodchord_context
(self, size=1)
t/unit/backends/test_redis.py:1372
↓ 35 callersMethodget_result
Get the result of a task.
celery/backends/base.py:900
↓ 35 callersMethoditems
(self)
t/unit/backends/test_base.py:1263
↓ 34 callersMethodadd
Add a new item, or reset the expiry time of an existing item. Arguments: now (float): Insertion time of the item, as read from
celery/utils/collections.py:561
↓ 34 callersFunctioncallback
(ctx: click.Context, param, value)
celery/bin/control.py:70
↓ 34 callersMethodconfig_from_object
Read configuration from object. Object is either an actual object or the name of a module to import. Example: >>> celery
celery/app/base.py:889
↓ 34 callersMethodcopy
(self)
celery/app/utils.py:82
↓ 34 callersMethodformat
(self)
celery/bin/logtool.py:34
↓ 33 callersMethodget_key_for_task
Get the cache key for a task by id.
celery/backends/base.py:1246
↓ 33 callersFunctionpatch_crontab_nowfun
(cls, retval)
t/unit/app/test_schedules.py:26
↓ 33 callersMethodretry
Retry the task, adding it to the back of the queue. Example: >>> from imaginary_twitter_lib import Twitter >>> from p
celery/app/task.py:816
↓ 32 callersMethod__length_hint__
Return the number of tasks in this chord's header (recursively).
celery/canvas.py:2554
↓ 32 callersMethodadd
(x, y)
t/unit/worker/test_loops.py:142
↓ 32 callersMethodextend
(self, key, it)
celery/utils/collections.py:873
↓ 32 callersMethodprepare_steps
Prepare the chain for execution. To execute a chain, we first need to unpack it correctly. During the unpacking, we might encounter o
celery/canvas.py:1313
↓ 31 callersMethodconnection_for_write
Establish connection used for producing. See Also: :meth:`connection` for supported arguments.
celery/app/base.py:1236
↓ 31 callersMethodsetattr
(self, target, name=SENTINEL, value=SENTINEL, **kwargs)
t/unit/conftest.py:603
↓ 30 callersMethodassert_control_called_with_args
(self, name, destination=None, _options=None, **args)
t/unit/app/test_control.py:243
↓ 30 callersMethoddiscard
Remove result from the set if it is a member. Does nothing if it's not a member.
celery/result.py:643
↓ 30 callersMethoderror
(self, message=None, **kwargs)
celery/bin/base.py:76
↓ 30 callersMethodfixup_context
(self, app, **kwargs)
t/unit/fixups/test_django.py:17
↓ 30 callersMethodwarn
(self, s)
celery/contrib/testing/manager.py:44
↓ 29 callersMethodget_state
Get the state of a task.
celery/backends/base.py:890
↓ 29 callersFunctionsanitize_url
Sanitize URL, masking passwords. Supports: - Standard single-server URLs (e.g. ``redis://:secret@localhost:6379/0``) - Passwords containi
celery/app/utils.py:374
↓ 29 callersMethodwait
(timeout=None)
t/unit/backends/test_asynchronous.py:600
↓ 28 callersMethodWorkController
Embeddable worker. See Also: :class:`~@WorkController`.
celery/app/base.py:1627
↓ 28 callersFunctionawait_redis_echo
Helper to wait for a specified or well-known redis key to contain a string.
t/integration/test_canvas.py:33
↓ 28 callersMethodforget
(self)
t/unit/tasks/test_result.py:727
↓ 28 callersMethodnext_occurrence
(self, crontab, now)
t/unit/app/test_schedules.py:734
↓ 28 callersMethodpush_request
(self, *args, **kwargs)
celery/app/task.py:1334
↓ 27 callersMethodcreate_panel
(self, **kwargs)
t/unit/worker/test_control.py:193
↓ 27 callersMethodexists
Return :const:`True` if a result exists in the backend for this task. This can be used to distinguish between a task that is truly pe
celery/result.py:353
↓ 27 callersMethodsend
(self, msg, **_fields)
t/unit/worker/test_heartbeat.py:16
↓ 27 callersMethodsend_task_message
(self)
celery/app/amqp.py:314
↓ 26 callersMethodDispatcher
(self)
celery/app/events.py:23
next →1–100 of 9,499, ranked by callers