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
↓ 3 callers
Method
cancel
(self, tref)
celery/concurrency/eventlet.py:77
↓ 3 callers
Method
cancel_task_queue
(self, queue)
celery/worker/consumer/consumer.py:728
↓ 3 callers
Function
chain
(*args, **kwargs)
celery/app/builtins.py:192
↓ 3 callers
Method
chunks
Create a :class:`~celery.canvas.chunks` task for this task.
celery/app/task.py:1085
↓ 3 callers
Method
cleanup
Delete expired meta-data.
celery/backends/database/__init__.py:355
↓ 3 callers
Method
clear
(self, ready: bool = True)
celery/events/state.py:473
↓ 3 callers
Method
clone
(self, args=None, kwargs=None)
celery/utils/abstract.py:116
↓ 3 callers
Method
close
Stop relaying, close every socket and join the threads.
t/integration/test_connection_recovery.py:112
↓ 3 callers
Method
cluster_from_argv
(self, argv, cmd=None)
celery/bin/multi.py:365
↓ 3 callers
Function
command
(ctx)
t/unit/app/test_preload_cli.py:267
↓ 3 callers
Method
common_send_task_arguments
(self)
t/unit/tasks/test_tasks.py:2112
↓ 3 callers
Method
completed_count
Task completion count. Note that `complete` means `successful` in this context. In other words, the return value of this method is th
celery/result.py:701
↓ 3 callers
Method
conf
()
t/unit/app/test_app.py:468
↓ 3 callers
Method
config_from_cmdline
(self, argv, namespace='celery')
celery/app/base.py:932
↓ 3 callers
Method
connection_for_write
(self, url=None, heartbeat=None)
celery/worker/consumer/consumer.py:638
↓ 3 callers
Method
create
(self, w)
celery/worker/components.py:68
↓ 3 callers
Method
create_process_queues
Create new in, out, etc. queues, returned as a tuple.
celery/concurrency/asynpool.py:1230
↓ 3 callers
Method
create_task_handler
(self, promise=promise)
celery/worker/consumer/consumer.py:798
↓ 3 callers
Method
cyan
(self, *s: object)
celery/utils/term.py:115
↓ 3 callers
Method
decode_result
(self, payload)
celery/backends/base.py:707
↓ 3 callers
Function
decompress_payload
Decompress a payload written by :func:`compress_payload`. Payloads that don't carry the marker are returned as they are, so results stored be
celery/backends/base.py:114
↓ 3 callers
Method
default_dispatcher
(self, hostname=None, enabled=True, buffer_while_offline=False)
celery/app/events.py:33
↓ 3 callers
Method
default_now
(self)
celery/beat.py:136
↓ 3 callers
Function
default_socket_timeout
Context temporarily setting the default socket timeout. Note: Only affects sockets created afterwards. To bound a connection tha
celery/utils/threads.py:37
↓ 3 callers
Method
delete
(self, key)
celery/backends/base.py:1237
↓ 3 callers
Method
did_start_ok
(self)
celery/concurrency/base.py:85
↓ 3 callers
Method
draw_edge
(self, a, b, scheme=None, attrs=None)
celery/utils/graph.py:300
↓ 3 callers
Method
either
Get key from configuration or use default values. Fallback to the value of a configuration key if none of the `*values` are true.
celery/app/base.py:1395
↓ 3 callers
Method
event_from_message
(self, body, localize=True, now=time.time, tzfields=_TZGETTER,
celery/events/receiver.py:115
↓ 3 callers
Method
extend
(self, it)
celery/utils/collections.py:774
↓ 3 callers
Method
extend_list_option
Extends the list at the given key in self.options with the given value. If the value is not a list, it will be converted to one.
celery/canvas.py:873
↓ 3 callers
Method
fail_from_current_stack
(self, task_id, exc=None)
celery/backends/base.py:587
↓ 3 callers
Method
fanout_support
Return ``(supported, transport_name)`` for the read transport. Reads the transport's declared capabilities, so no connection is opene
celery/beat.py:841
↓ 3 callers
Function
fast_trace_task
(task, uuid, request, body, content_type, content_encoding, loads=loads_message, _loc=None
celery/app/trace.py:770
↓ 3 callers
Method
finalize
(self)
celery/app/utils.py:184
↓ 3 callers
Method
find_one
(self, task_id)
t/unit/backends/test_mongodb.py:1075
↓ 3 callers
Method
find_option
Search for option by name. Example: >>> from proj.celery import app >>> app.conf.find_option('disable_rate_limits')
celery/app/utils.py:153
↓ 3 callers
Method
flaky
(*args, **kwargs)
t/unit/backends/test_asynchronous.py:518
↓ 3 callers
Function
flatten
Flatten settings.
celery/app/defaults.py:401
↓ 3 callers
Function
func
( arg: int, optional: typing.Optional[int], optional2: typing.Union[int, None],
t/unit/utils/test_annotations.py:28
↓ 3 callers
Method
gen_task_name
(self, name, module)
celery/app/base.py:840
↓ 3 callers
Method
get
(self, key)
celery/backends/filesystem.py:83
↓ 3 callers
Method
get
(self, key)
celery/backends/gcs.py:86
↓ 3 callers
Method
get
Read the value stored at the given key. Args: key: The key for which to read the value.
celery/backends/azureblockblob.py:117
↓ 3 callers
Method
getMessage
(self)
t/unit/app/test_log.py:27
↓ 3 callers
Function
get_actual_ignore_result
Return the effective ignore_result, with request overriding task. If req provides an explicit ignore_result, that value is used; otherwise ta
celery/app/task.py:76
↓ 3 callers
Function
get_digest_algorithm
Convert string to hash object of cryptography library.
celery/security/utils.py:13
↓ 3 callers
Method
get_drainer
(self, environment)
t/unit/backends/test_asynchronous.py:365
↓ 3 callers
Function
get_memory_usage
Get current memory usage in bytes. Returns RSS (total process memory) if psutil is available, otherwise returns Python heap allocations
t/integration/test_mem_leak_in_exception_handling.py:82
↓ 3 callers
Function
get_pickleable_etype
Get pickleable exception type.
celery/utils/serialization.py:175
↓ 3 callers
Method
get_queue_messages
``messages``, ``messages_ready`` and ``messages_unacknowledged`` of one queue on the default vhost.
t/smoke/conftest.py:65
↓ 3 callers
Method
getpids
(self, on_down=None)
celery/apps/multi.py:523
↓ 3 callers
Method
green
(self, *s: object)
celery/utils/term.py:103
↓ 3 callers
Function
group
(self, tasks, result, group_id, partial_args, add_to_parent=True)
celery/app/builtins.py:172
↓ 3 callers
Method
info
Return task consumer info.
celery/worker/consumer/tasks.py:99
↓ 3 callers
Function
initgroups
Init process group permissions. Compat version of :func:`os.initgroups` that was first added to Python 2.7.
celery/platforms.py:566
↓ 3 callers
Method
install_default_entries
(self, data)
celery/beat.py:274
↓ 3 callers
Method
is_aborted
Return true if task is aborted. Checks against the backend whether this :class:`AbortableAsyncResult` is :const:`ABORTED`. A
celery/contrib/abortable.py:147
↓ 3 callers
Method
is_due
(self, entry)
celery/beat.py:303
↓ 3 callers
Function
is_none_type
Check if the given value is a NoneType.
celery/utils/annotations.py:9
↓ 3 callers
Function
isatty
Return true if the process has a controlling terminal.
celery/platforms.py:107
↓ 3 callers
Function
jsonify
Transform object making it suitable for json serialization.
celery/utils/serialization.py:233
↓ 3 callers
Method
llen
(self, key)
t/unit/backends/test_redis.py:157
↓ 3 callers
Function
log_demo
(running_task)
examples/stamping/tasks.py:13
↓ 3 callers
Function
logger_isa
(l, p, max=1000)
celery/utils/log.py:72
↓ 3 callers
Method
maintain_pool
(self, *args, **kwargs)
celery/concurrency/base.py:109
↓ 3 callers
Function
mem_rss
Return RSS memory usage as a humanized string.
celery/utils/debug.py:138
↓ 3 callers
Method
memdump
Dump statistics of previous memsample requests. Note: Requires the psutils library.
celery/app/control.py:401
↓ 3 callers
Method
merge
(self)
celery/worker/state.py:317
↓ 3 callers
Method
merge_inplace
(self, b)
celery/beat.py:519
↓ 3 callers
Function
move
Find tasks by filtering them and move the tasks to a new queue. Arguments: predicate (Callable): Filter function used to decide the messa
celery/contrib/migrate.py:127
↓ 3 callers
Method
move_to_end
(self, key, last=True)
celery/utils/collections.py:70
↓ 3 callers
Function
mro_lookup
Return the first node by MRO order that defines an attribute. Arguments: cls (Any): Child class to traverse. attr (str): Name of
celery/utils/objects.py:15
↓ 3 callers
Function
nodesplit
Split node name into tuple of name/hostname.
celery/utils/nodenames.py:69
↓ 3 callers
Method
ok
(self, m, newline=True, file=None)
celery/bin/multi.py:188
↓ 3 callers
Method
on_callback
(self, actual_sig: Signature, **header)
t/unit/tasks/test_stamping.py:165
↓ 3 callers
Method
on_chord_part_return
Chord part return callback. Called for each task in the chord. Increments the counter stored in Firestore. If the counter rea
celery/backends/gcs.py:251
↓ 3 callers
Method
on_errback
(self, actual_sig: Signature, **header)
t/unit/tasks/test_stamping.py:174
↓ 3 callers
Method
on_failure
Handler called if the task raised an exception.
celery/worker/request.py:642
↓ 3 callers
Method
on_node_lost
(self, worker)
celery/worker/consumer/gossip.py:144
↓ 3 callers
Method
on_retry
Handler called if the task should be retried.
celery/worker/request.py:633
↓ 3 callers
Method
on_state_change
(self, meta, message)
celery/backends/redis.py:298
↓ 3 callers
Method
on_task_call
(self, producer, task_id)
celery/backends/base.py:1010
↓ 3 callers
Method
on_worker_process_init
Called when a child process starts.
celery/loaders/base.py:80
↓ 3 callers
Method
open
(self)
celery/worker/state.py:312
↓ 3 callers
Method
populate_heap
Populate the heap with the data contained in the schedule.
celery/beat.py:324
↓ 3 callers
Function
prepare
Expand the :setting:`task_annotations` setting.
celery/app/annotations.py:34
↓ 3 callers
Method
prepare_value
Prepare value for storage.
celery/backends/base.py:687
↓ 3 callers
Function
ps
Return the global :class:`psutil.Process` instance. Note: Returns :const:`None` if :pypi:`psutil` is not installed.
celery/utils/debug.py:145
↓ 3 callers
Method
rate_limit
Tell workers to set a new rate limit for task by type. Arguments: task_name (str): Name of task to change rate limit for.
celery/app/control.py:578
↓ 3 callers
Method
red
(self, *s: object)
celery/utils/term.py:100
↓ 3 callers
Method
register_script
(self, script)
t/unit/backends/test_redis.py:196
↓ 3 callers
Method
registered
Return all registered tasks per worker. >>> app.control.inspect().registered() {'celery@node1': ['task1', 'task1']} >>> app.c
celery/app/control.py:258
↓ 3 callers
Function
reload_from_cwd
Reload module (ensuring that CWD is in sys.path).
celery/utils/imports.py:109
↓ 3 callers
Method
reserved
Return list of currently reserved tasks, not including scheduled/active. Returns: Dict: Dictionary ``{HOSTNAME: [TASK_INFO,...]}`
celery/app/control.py:170
↓ 3 callers
Method
reset_rate_limits
(self)
celery/worker/consumer/consumer.py:317
↓ 3 callers
Method
run
(self)
celery/utils/timer2.py:79
↓ 3 callers
Method
run
The body of the task executed by workers.
celery/app/task.py:567
↓ 3 callers
Method
scheduled
Return list of scheduled tasks with details. Returns: Dict: Dictionary ``{HOSTNAME: [TASK_SCHEDULED_INFO,...]}``. Here i
celery/app/control.py:153
↓ 3 callers
Method
send
Send event. Arguments: type (str): Event type name, with group separated by dash (`-`). retry (bool): Retry in the ev
celery/events/dispatcher.py:172
← previous
next →
901–1,000 of 9,499, ranked by callers