MCPcopy Create free account

hub / github.com/celery/celery / functions

Functions9,499 in github.com/celery/celery

↓ 14 callersMethodchord_error_from_stack
(self, callback, exc=None)
celery/backends/base.py:464
↓ 14 callersMethodconnection_for_read
Establish connection used for consuming. See Also: :meth:`connection` for supported arguments.
celery/app/base.py:1228
↓ 14 callersMethodcreate_task_message
(self, channel, *args, **kwargs)
t/unit/worker/test_worker.py:76
↓ 14 callersMethodon_success
Success handler. Run by the worker if the task executes successfully. Arguments: retval (Any): The return value of the t
celery/app/task.py:1249
↓ 14 callersMethodput
(self, key, item)
celery/utils/collections.py:864
↓ 14 callersMethods
Create signature. Shortcut for ``.s(*a, **k) -> .signature(a, k)``.
celery/app/task.py:1071
↓ 14 callersMethodset_current
Make this the current app for this thread.
celery/app/base.py:582
↓ 14 callersMethodzRequest
(self, Request=None, revoked_tasks=None, ref=None, **kwargs)
t/unit/worker/test_request.py:2388
↓ 13 callersMethodLoopConsumer
(self, buffer=None, controller=None, timer=None, app=None, without_mingle=True, without_g
t/unit/worker/test_worker.py:97
↓ 13 callersMethodadd
(x, y)
t/unit/app/test_app.py:441
↓ 13 callersMethodclose
(self, *args, **kwargs)
t/unit/worker/test_loops.py:118
↓ 13 callersMethodclose
(self)
t/unit/backends/test_redis.py:73
↓ 13 callersMethodconsume
(self)
t/unit/worker/test_control.py:535
↓ 13 callersMethodfilter
(task)
t/unit/app/test_app.py:755
↓ 13 callersMethodflush
(self)
celery/concurrency/asynpool.py:1079
↓ 13 callersMethodget_key_for_chord
Get the cache key for the chord waiting on group with given id.
celery/backends/base.py:1258
↓ 13 callersMethodmake_message
(self, task_id, status, result=None)
t/unit/backends/test_rpc.py:331
↓ 13 callersFunctionresult_from_tuple
Deserialize result from tuple.
celery/result.py:1162
↓ 12 callersMethod_chord_context
(self, ResultCls, setup=None, **kwargs)
t/unit/tasks/test_chord.py:250
↓ 12 callersMethod_retry_publish
Publish a callback, waiting between its publish retries.
celery/app/amqp.py:299
↓ 12 callersFunctionadd_seconds_to_datetime
Add elapsed seconds, preserving naive datetime behavior.
celery/utils/time.py:389
↓ 12 callersMethodas_task_v1
(self, task_id, name, args=None, kwargs=None, countdown=None, eta=None, group_id=None, grou
celery/app/amqp.py:464
↓ 12 callersMethodas_uri
Return the backend as an URI, sanitizing the password or not.
celery/backends/base.py:277
↓ 12 callersMethodautodiscover_tasks
Auto-discover task modules. Searches a list of packages for a "tasks.py" module (or use related_name argument). If the name
celery/app/base.py:969
↓ 12 callersMethodbind
(cls, app)
celery/app/task.py:459
↓ 12 callersFunctionbound_open_broker_sockets
Apply ``timeout`` to broker sockets that are already connected. :func:`socket.setdefaulttimeout` only affects sockets created afterwards, so
celery/utils/threads.py:76
↓ 12 callersMethodchannel
(self)
t/unit/worker/test_worker.py:624
↓ 12 callersFunctioncheck_privileges
(accept_content)
celery/platforms.py:852
↓ 12 callersMethodclose
(self)
t/unit/concurrency/test_prefork.py:292
↓ 12 callersMethodclose
Clean up after the application. Only necessary for dynamically created apps, and you should probably use the :keyword:`with` statemen
celery/app/base.py:596
↓ 12 callersFunctioncreate_persistent_scheduler
(shelv=None)
t/unit/app/test_beat.py:886
↓ 12 callersMethodcreate_task
(self, i, group_id="group_id")
t/unit/backends/test_redis.py:1359
↓ 12 callersMethodfailed
()
t/unit/worker/test_strategy.py:432
↓ 12 callersMethodflush
(self)
celery/utils/log.py:248
↓ 12 callersMethodget
Wait until task is ready, and return its result. Warning: Waiting for tasks within a task may lead to deadlocks. Please
celery/result.py:191
↓ 12 callersFunctionhumanize_seconds
Show seconds in human form. For example, 60 becomes "1 minute", and 7200 becomes "2 hours". Arguments: prefix (str): can be used to
celery/utils/time.py:350
↓ 12 callersMethodinfo
(self, safe=False)
celery/worker/request.py:913
↓ 12 callersFunctionmake_aware
Set timezone for a :class:`~datetime.datetime` object.
celery/utils/time.py:435
↓ 12 callersMethodon_close
(self)
celery/concurrency/base.py:137
↓ 12 callersMethodon_start
(self)
celery/concurrency/gevent.py:107
↓ 12 callersMethodopen
(self, filename, **kwargs)
t/unit/worker/test_state.py:28
↓ 12 callersMethodpush
Push a new item to the stack.
celery/utils/threads.py:259
↓ 12 callersMethodrun
(self, x, y)
t/unit/tasks/test_tasks.py:33
↓ 12 callersFunctionsafe_say
Uses the original (unpatched) os.write to avoid issues with eventlet/gevent monkey-patching. When using eventlet>=0.37.0, the patched os.writ
celery/apps/worker.py:84
↓ 12 callersMethodsignum
Get signal number by name.
celery/platforms.py:711
↓ 12 callersMethodwait_for
(self, p, wait, timeout=None)
celery/backends/asynchronous.py:118
↓ 12 callersFunctionx
(arg: ArgModel)
examples/pydantic/tasks.py:17
↓ 11 callersMethod_get_connection
Prepare the connection for action. Arguments: write (bool): are we a writer?
celery/backends/cassandra.py:164
↓ 11 callersMethod_handle_group_chord_error
Handle chord errors when the callback is a group. When a chord header fails and the body is a group, we need to: 1. Revoke all pendin
celery/backends/base.py:506
↓ 11 callersFunction_make_consumer
Create a BaseResultConsumer with a mocked drainer environment.
t/unit/backends/test_asynchronous.py:24
↓ 11 callersMethod_prepare_client_options
(self)
celery/backends/mongodb.py:137
↓ 11 callersMethod_with_real_timer
(self, x)
t/unit/worker/test_loops.py:510
↓ 11 callersMethodadd
(self, **kwargs)
celery/beat.py:502
↓ 11 callersFunctionallow_join_result
()
celery/result.py:43
↓ 11 callersFunctionassert_ping
(manager)
t/integration/test_canvas.py:2020
↓ 11 callersFunctionbugreport
Return a string containing information useful in bug-reports.
celery/app/utils.py:491
↓ 11 callersMethodclose
(self)
t/unit/app/test_beat.py:31
↓ 11 callersMethoddelay
Star argument version of :meth:`apply_async`. Does not support the extra options enabled by :meth:`apply_async`. Arguments:
celery/app/task.py:574
↓ 11 callersMethodexecute_using_pool
Used by the worker to send this task to the pool. Arguments: pool (~celery.concurrency.base.TaskPool): The execution pool
celery/worker/request.py:348
↓ 11 callersMethodget_engine
(self, dburi, **kwargs)
celery/backends/database/session.py:47
↓ 11 callersFunctionlocalize
Convert aware :class:`~datetime.datetime` to another timezone. Using a ZoneInfo timezone will give the most flexibility in terms of ambiguous DST
celery/utils/time.py:447
↓ 11 callersMethodon_timeout
Handler called if the task times out.
celery/worker/request.py:539
↓ 11 callersMethodproducer_or_acquire
Context used to acquire a producer from the pool. For use within a :keyword:`with` statement to get a producer from the pool if one i
celery/app/base.py:1361
↓ 11 callersMethodregister
(cls, *args, **kwargs)
celery/worker/control.py:47
↓ 11 callersMethodresult
(self)
t/unit/tasks/test_result.py:707
↓ 11 callersMethodstart
(self, embedded_process=False)
celery/beat.py:1042
↓ 11 callersMethodstart
Initialize delayed delivery for all broker URLs. Attempts to set up delayed delivery for each broker URL in the configuration. Failur
celery/worker/consumer/delayed_delivery.py:66
↓ 11 callersMethodsubclass_with_self
Subclass an app-compatible class. App-compatible means that the class has a class attribute that provides the default app it should u
celery/app/base.py:1528
↓ 11 callersMethodtask_ready
(self, line, task_name, task_id, result)
celery/bin/logtool.py:67
↓ 11 callersMethodtask_result_exists
Check if a result exists in the backend for the given task ID. .. versionadded:: 5.7.0 Returns: bool: :const:`True` if t
celery/backends/base.py:962
↓ 11 callersMethodwait
(self, timeout: float | None = None)
celery/concurrency/thread.py:26
↓ 11 callersFunctionwarn
Warn of (pending) deprecation.
celery/utils/deprecated.py:23
↓ 10 callersFunctionRouter
(app, *args, **kwargs)
t/unit/app/test_routes.py:12
↓ 10 callersMethodTaskConsumer
(self, channel, queues=None, accept=None, **kw)
celery/app/amqp.py:361
↓ 10 callersMethod__class__
(self)
celery/local.py:94
↓ 10 callersMethod_chord_publish_claim_expires
Estimate the time needed for callback publish retries.
celery/backends/redis.py:904
↓ 10 callersMethod_ensure_retryable
Helper to execute a function with the backend's retry policy.
celery/backends/base.py:827
↓ 10 callersMethod_get_task_meta_for
Get task meta-data for a task by id.
celery/backends/cassandra.py:318
↓ 10 callersMethod_locked
(self)
celery/backends/redis.py:448
↓ 10 callersMethod_make_greenlet_drainer
(self, app)
t/unit/backends/test_asynchronous.py:199
↓ 10 callersMethoddeselect
Deselect queues so that they won't be consumed from. Arguments: exclude (Sequence[str], str): Names of queues to avoid
celery/app/amqp.py:217
↓ 10 callersMethodecho_error
(self, exception)
celery/bin/amqp.py:39
↓ 10 callersMethodexecute
(self)
t/unit/backends/test_redis.py:65
↓ 10 callersMethodflush
(self)
t/unit/concurrency/test_prefork.py:311
↓ 10 callersMethodget
(self, key)
celery/backends/elasticsearch.py:104
↓ 10 callersMethodget_service
(self)
t/unit/app/test_beat.py:1358
↓ 10 callersFunctionhead_from_fun
Generate signature function from actual function.
celery/utils/functional.py:411
↓ 10 callersMethodinstall
(self)
celery/events/snapshot.py:45
↓ 10 callersMethodon_connection_error_after_connected
(self, exc)
celery/worker/consumer/consumer.py:466
↓ 10 callersMethodon_message
(self, body, message)
celery/beat.py:831
↓ 10 callersMethodparse
(self)
celery/apps/multi.py:79
↓ 10 callersFunctionparse_iso8601
Parse and convert ISO-8601 string to datetime.
celery/utils/iso8601.py:53
↓ 10 callersMethodprepare
(self, app, **kwargs)
celery/app/utils.py:310
↓ 10 callersFunctionqualname
Return object name.
celery/utils/imports.py:29
↓ 10 callersMethodreconnect
(self)
celery/bin/amqp.py:45
↓ 10 callersMethodreconnect_on_error
Context manager that catches connection errors and reconnects. Wraps a block of code so that any :attr:`_connection_errors` raised in
celery/backends/asynchronous.py:368
↓ 10 callersMethodsend
()
t/unit/events/test_events.py:367
↓ 10 callersFunctionsession_cleanup
(session)
celery/backends/database/__init__.py:42
↓ 10 callersMethodsetup_logging_subsystem
(self, loglevel=None, logfile=None, format=None, colorize=None, hostname=None,
celery/app/log.py:89
↓ 10 callersMethodshutdown
(self)
t/unit/backends/test_cassandra.py:515
← previousnext →201–300 of 9,499, ranked by callers