Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/celery/celery
/ functions
Functions
9,499 in github.com/celery/celery
⨍
Functions
9,499
◇
Types & classes
1,126
↳
Endpoints
406
↓ 7 callers
Method
_reconnect_pubsub
(self)
celery/backends/redis.py:249
↓ 7 callers
Method
_setup_group_chord_error_test
Common setup for group chord error tests.
t/unit/backends/test_base.py:1384
↓ 7 callers
Method
_task_from_fun
( self, fun, name=None, base=None, bind=False, pydantic: bool
celery/app/base.py:721
↓ 7 callers
Method
_unpack_args
(header=None, body=None, **kwargs)
celery/canvas.py:2363
↓ 7 callers
Method
add
Add :class:`AsyncResult` as a new member of the set. Does nothing if the result is already a member.
celery/result.py:604
↓ 7 callers
Function
apply_target
Apply function within pool context.
celery/concurrency/base.py:22
↓ 7 callers
Method
as_uri
(self, include_password=False)
celery/backends/azureblockblob.py:185
↓ 7 callers
Method
assertion_check
(self, actual_sig: Signature, method: str, **headers)
t/unit/tasks/test_stamping.py:246
↓ 7 callers
Method
assertion_check
(self, actual_sig: Signature, expected_stamped_header: str)
t/unit/tasks/test_stamping.py:308
↓ 7 callers
Function
available_cpu_count
Return the number of CPUs this process may run on. Honors the scheduler affinity mask (``taskset``, cpusets, ``docker run --cpuset-cpus``) vi
celery/utils/sysinfo.py:37
↓ 7 callers
Method
bugreport
Return information useful in bug reports.
celery/app/base.py:1405
↓ 7 callers
Method
call_after
(self, *args: Any, **kwargs: Any)
celery/utils/timer2.py:132
↓ 7 callers
Method
cancel
(self, entry)
t/unit/worker/test_heartbeat.py:36
↓ 7 callers
Method
cleanup
Backend cleanup.
celery/backends/base.py:1004
↓ 7 callers
Method
close
Close the dispatcher's own publishing path. This can block for as long as an in-flight publish or flush takes. Caller-supplied produc
celery/events/dispatcher.py:247
↓ 7 callers
Method
close
(self)
celery/concurrency/base.py:133
↓ 7 callers
Function
cpu_budget
Return the CPU budget for sizing a worker pool. Starts from :func:`available_cpu_count`. When ``use_cgroup_quota`` is True (CPU-bound pools),
celery/utils/sysinfo.py:185
↓ 7 callers
Method
create
(self, w)
celery/worker/components.py:138
↓ 7 callers
Function
default_nodename
Return the default nodename for this process. ``default_name`` supplies the name half for a ``hostname`` that only carries a host, so process
celery/utils/nodenames.py:77
↓ 7 callers
Method
deserialize
Deserialize data structure from string.
celery/security/serialization.py:48
↓ 7 callers
Method
encode_result
(self, result, state)
celery/backends/base.py:762
↓ 7 callers
Method
first
(*args, **kwargs)
t/unit/worker/test_loops.py:103
↓ 7 callers
Method
first
(self, *keys)
celery/utils/collections.py:422
↓ 7 callers
Method
grow
(self, n=1)
celery/concurrency/gevent.py:128
↓ 7 callers
Function
ids_in_as_tuple
Return the id of every node in an as_tuple() tree.
t/canvas_helpers.py:1
↓ 7 callers
Method
import_state
()
t/unit/worker/test_state.py:288
↓ 7 callers
Method
info
Information about this task suitable for on-screen display.
celery/events/state.py:334
↓ 7 callers
Method
info
(self, msg, newline=True)
celery/bin/multi.py:204
↓ 7 callers
Function
instantiate
Instantiate class by name. See Also: :func:`symbol_by_name`.
celery/utils/imports.py:39
↓ 7 callers
Function
jail
(app, task_id, name, request_opts, args, kwargs)
t/unit/worker/test_request.py:94
↓ 7 callers
Method
loop
(self, c)
celery/worker/pidbox.py:109
↓ 7 callers
Method
map
Create a :class:`~celery.canvas.xmap` task from ``it``.
celery/app/task.py:1090
↓ 7 callers
Function
maybe_drop_privileges
Change process privileges to new user/group. If UID and GID is specified, the real user/group is changed. If only UID is specified, the real
celery/platforms.py:592
↓ 7 callers
Function
maybe_evaluate
Attempt to evaluate promise, even if obj is not a promise.
celery/local.py:353
↓ 7 callers
Function
maybe_make_aware
Convert dt to aware datetime, do nothing if dt is already aware.
celery/utils/time.py:464
↓ 7 callers
Method
maybe_make_aware
( self, dt: datetime, naive_as_utc: bool = True)
celery/schedules.py:99
↓ 7 callers
Method
meta_from_decoded
(self, meta)
celery/backends/base.py:702
↓ 7 callers
Function
mlevel
Convert level name/int to log level.
celery/utils/log.py:116
↓ 7 callers
Function
multi_args
(p, *args, **kwargs)
t/unit/apps/test_multi.py:54
↓ 7 callers
Method
on_ready
(self)
celery/worker/consumer/consumer.py:555
↓ 7 callers
Method
release
Release lock.
celery/platforms.py:166
↓ 7 callers
Method
remove_if_stale
Remove the lock if the process isn't running. I.e. process does not respond to signal.
celery/platforms.py:192
↓ 7 callers
Function
reraise_errors
Context reraising crypto errors as :exc:`SecurityError`.
celery/security/utils.py:20
↓ 7 callers
Method
reset
Reset signals to the default signal handler. Does nothing if the platform has no support for signals, or the specified signal in part
celery/platforms.py:722
↓ 7 callers
Method
restore_group
Get the result for a group.
celery/backends/base.py:990
↓ 7 callers
Method
setup_logger
(self, *args, **kwargs)
t/unit/app/test_log.py:183
↓ 7 callers
Method
start
(self)
t/unit/concurrency/test_prefork.py:41
↓ 7 callers
Method
style
(self, message=None, **kwargs)
celery/bin/base.py:56
↓ 7 callers
Method
tasks_by_time
Generator yielding tasks ordered by time. Yields: Tuples of ``(uuid, Task)``.
celery/events/state.py:656
↓ 7 callers
Method
then
(self, callback, on_error=None, weak=False)
celery/result.py:844
↓ 7 callers
Function
trace_task
(uuid, args, kwargs, request=None)
celery/app/trace.py:454
↓ 7 callers
Method
update_strategies
(self)
celery/worker/consumer/consumer.py:791
↓ 7 callers
Method
utcoffset
(self, dt)
t/unit/utils/test_time.py:317
↓ 6 callers
Method
Loader
(*args, **kwargs)
t/unit/concurrency/test_prefork.py:143
↓ 6 callers
Method
Queues
(self, queues, create_missing=None, create_missing_queue_type=None, create_missing_queue_exchan
celery/app/amqp.py:317
↓ 6 callers
Method
State
(self)
celery/app/events.py:28
↓ 6 callers
Method
_backend
(app, backend_cls)
t/unit/backends/test_asynchronous.py:754
↓ 6 callers
Method
_create_write_handlers
Create handlers used to write data to child processes.
celery/concurrency/asynpool.py:796
↓ 6 callers
Method
_fanout
(self, pb)
t/unit/app/test_beat.py:1577
↓ 6 callers
Method
_flush_outqueue
(self, fd, remove, process_index, on_state_change)
celery/concurrency/asynpool.py:447
↓ 6 callers
Method
_get_client
Get client connection.
celery/backends/dynamodb.py:168
↓ 6 callers
Method
_get_task_meta_for
(self, task_id)
t/unit/backends/test_base.py:514
↓ 6 callers
Method
_query
(self, req)
t/unit/worker/test_eta_query_task.py:89
↓ 6 callers
Method
_schedule
(self, countdown=10)
t/unit/worker/test_eta_query_task.py:77
↓ 6 callers
Method
_store_result
Store return value and state of an executed task.
celery/backends/cassandra.py:286
↓ 6 callers
Method
add_edge
Add an edge from object ``A`` to object ``B``. I.e. ``A`` depends on ``B``.
celery/utils/graph.py:52
↓ 6 callers
Method
add_pending_result
(self, *args, **kwargs)
t/unit/tasks/test_result.py:57
↓ 6 callers
Method
apply_async
(self, *args, **kwargs)
t/unit/concurrency/test_prefork.py:320
↓ 6 callers
Method
apply_async
(self, args=None, kwargs=None, add_to_parent=True, producer=None, link=None, link_error=No
celery/canvas.py:1899
↓ 6 callers
Method
as_dict
(self)
celery/events/state.py:350
↓ 6 callers
Function
await_redis_list_message_length
Helper to wait for a specified or well-known redis key to contain a string.
t/integration/test_canvas.py:62
↓ 6 callers
Method
blue
(self, *s: object)
celery/utils/term.py:109
↓ 6 callers
Method
buildargs
(cls)
t/smoke/workers/dev.py:38
↓ 6 callers
Method
call_repeatedly
(self, *args: Any, **kwargs: Any)
celery/utils/timer2.py:135
↓ 6 callers
Method
call_soon
Schedule a callback. Callback ordering is not guaranteed across pool implementations.
celery/worker/consumer/consumer.py:270
↓ 6 callers
Method
cancel
(self, pool, signal=None, emit_retry=True)
celery/worker/request.py:435
↓ 6 callers
Function
close_open_fds
Close every open descriptor except those in *keep*. Only the descriptors listed by the fd directory are touched, so the cost does not grow wi
celery/platforms.py:350
↓ 6 callers
Method
connect
(self)
t/integration/test_tasks.py:983
↓ 6 callers
Method
connection
Establish a connection to the message broker. Please use :meth:`connection_for_read` and :meth:`connection_for_write` instead, to con
celery/app/base.py:1244
↓ 6 callers
Method
connection_for_read
(self, heartbeat=None)
celery/worker/consumer/consumer.py:634
↓ 6 callers
Method
create_entry
(self, **kwargs)
t/unit/app/test_beat.py:65
↓ 6 callers
Method
delete_group
(self, group_id)
celery/backends/base.py:1000
↓ 6 callers
Function
detect_quorum_queues
Detect if any of the queues are quorum queues. Returns: tuple[bool, str]: A tuple containing a boolean indicating if any of the queues ar
celery/utils/quorum_queues.py:4
↓ 6 callers
Method
disconnect
(self)
t/integration/test_tasks.py:987
↓ 6 callers
Method
find
(self, name)
celery/apps/multi.py:517
↓ 6 callers
Method
format_row
(self, uuid, task, worker, timestamp, state)
celery/events/cursesmon.py:67
↓ 6 callers
Function
get_active_redis_channels
()
t/integration/conftest.py:64
↓ 6 callers
Function
get_context_as_dict
(ctx, getter=getattr)
t/unit/tasks/test_context.py:6
↓ 6 callers
Method
get_timezone
Returns ZoneInfo timezone if the provided zone is a string, otherwise return the zone.
celery/utils/time.py:162
↓ 6 callers
Method
handle_error_state
(self, task, req, eager=False, call_errbacks=True)
celery/app/trace.py:167
↓ 6 callers
Function
handle_remote_command_error
(command: str, exc: Exception)
celery/bin/base.py:124
↓ 6 callers
Method
import_default_modules
(self)
celery/loaders/base.py:97
↓ 6 callers
Function
in_sighandler
Context that records that we are in a signal handler.
celery/utils/log.py:63
↓ 6 callers
Method
incr
(self, key: bytes)
celery/backends/gcs.py:236
↓ 6 callers
Method
instantiate
(self, name, *args, **kwargs)
celery/bootsteps.py:330
↓ 6 callers
Method
isatty
Here for file support.
celery/utils/log.py:258
↓ 6 callers
Method
join_native
Backend optimized version of :meth:`join`. .. versionadded:: 2.2 Note that this does not support collecting the results for
celery/result.py:866
↓ 6 callers
Function
linked_signature
(owner: Signature, option: str)
t/unit/test_canvas.py:10
↓ 6 callers
Function
load_extension_class_names
Return the ``(name, class_name)`` pairs registered for the namespace. Scanning installed package metadata for entry points is expensive, and
celery/utils/imports.py:146
↓ 6 callers
Function
maybe_unroll_group
Unroll group with only one member. This allows treating a group of a single task as if it was a single task without pre-knowledge.
celery/canvas.py:44
← previous
next →
401–500 of 9,499, ranked by callers