MCPcopy Create free account

hub / github.com/celery/celery / functions

Functions9,499 in github.com/celery/celery

↓ 7 callersMethod_reconnect_pubsub
(self)
celery/backends/redis.py:249
↓ 7 callersMethod_setup_group_chord_error_test
Common setup for group chord error tests.
t/unit/backends/test_base.py:1384
↓ 7 callersMethod_task_from_fun
( self, fun, name=None, base=None, bind=False, pydantic: bool
celery/app/base.py:721
↓ 7 callersMethod_unpack_args
(header=None, body=None, **kwargs)
celery/canvas.py:2363
↓ 7 callersMethodadd
Add :class:`AsyncResult` as a new member of the set. Does nothing if the result is already a member.
celery/result.py:604
↓ 7 callersFunctionapply_target
Apply function within pool context.
celery/concurrency/base.py:22
↓ 7 callersMethodas_uri
(self, include_password=False)
celery/backends/azureblockblob.py:185
↓ 7 callersMethodassertion_check
(self, actual_sig: Signature, method: str, **headers)
t/unit/tasks/test_stamping.py:246
↓ 7 callersMethodassertion_check
(self, actual_sig: Signature, expected_stamped_header: str)
t/unit/tasks/test_stamping.py:308
↓ 7 callersFunctionavailable_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 callersMethodbugreport
Return information useful in bug reports.
celery/app/base.py:1405
↓ 7 callersMethodcall_after
(self, *args: Any, **kwargs: Any)
celery/utils/timer2.py:132
↓ 7 callersMethodcancel
(self, entry)
t/unit/worker/test_heartbeat.py:36
↓ 7 callersMethodcleanup
Backend cleanup.
celery/backends/base.py:1004
↓ 7 callersMethodclose
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 callersMethodclose
(self)
celery/concurrency/base.py:133
↓ 7 callersFunctioncpu_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 callersMethodcreate
(self, w)
celery/worker/components.py:138
↓ 7 callersFunctiondefault_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 callersMethoddeserialize
Deserialize data structure from string.
celery/security/serialization.py:48
↓ 7 callersMethodencode_result
(self, result, state)
celery/backends/base.py:762
↓ 7 callersMethodfirst
(*args, **kwargs)
t/unit/worker/test_loops.py:103
↓ 7 callersMethodfirst
(self, *keys)
celery/utils/collections.py:422
↓ 7 callersMethodgrow
(self, n=1)
celery/concurrency/gevent.py:128
↓ 7 callersFunctionids_in_as_tuple
Return the id of every node in an as_tuple() tree.
t/canvas_helpers.py:1
↓ 7 callersMethodimport_state
()
t/unit/worker/test_state.py:288
↓ 7 callersMethodinfo
Information about this task suitable for on-screen display.
celery/events/state.py:334
↓ 7 callersMethodinfo
(self, msg, newline=True)
celery/bin/multi.py:204
↓ 7 callersFunctioninstantiate
Instantiate class by name. See Also: :func:`symbol_by_name`.
celery/utils/imports.py:39
↓ 7 callersFunctionjail
(app, task_id, name, request_opts, args, kwargs)
t/unit/worker/test_request.py:94
↓ 7 callersMethodloop
(self, c)
celery/worker/pidbox.py:109
↓ 7 callersMethodmap
Create a :class:`~celery.canvas.xmap` task from ``it``.
celery/app/task.py:1090
↓ 7 callersFunctionmaybe_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 callersFunctionmaybe_evaluate
Attempt to evaluate promise, even if obj is not a promise.
celery/local.py:353
↓ 7 callersFunctionmaybe_make_aware
Convert dt to aware datetime, do nothing if dt is already aware.
celery/utils/time.py:464
↓ 7 callersMethodmaybe_make_aware
( self, dt: datetime, naive_as_utc: bool = True)
celery/schedules.py:99
↓ 7 callersMethodmeta_from_decoded
(self, meta)
celery/backends/base.py:702
↓ 7 callersFunctionmlevel
Convert level name/int to log level.
celery/utils/log.py:116
↓ 7 callersFunctionmulti_args
(p, *args, **kwargs)
t/unit/apps/test_multi.py:54
↓ 7 callersMethodon_ready
(self)
celery/worker/consumer/consumer.py:555
↓ 7 callersMethodrelease
Release lock.
celery/platforms.py:166
↓ 7 callersMethodremove_if_stale
Remove the lock if the process isn't running. I.e. process does not respond to signal.
celery/platforms.py:192
↓ 7 callersFunctionreraise_errors
Context reraising crypto errors as :exc:`SecurityError`.
celery/security/utils.py:20
↓ 7 callersMethodreset
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 callersMethodrestore_group
Get the result for a group.
celery/backends/base.py:990
↓ 7 callersMethodsetup_logger
(self, *args, **kwargs)
t/unit/app/test_log.py:183
↓ 7 callersMethodstart
(self)
t/unit/concurrency/test_prefork.py:41
↓ 7 callersMethodstyle
(self, message=None, **kwargs)
celery/bin/base.py:56
↓ 7 callersMethodtasks_by_time
Generator yielding tasks ordered by time. Yields: Tuples of ``(uuid, Task)``.
celery/events/state.py:656
↓ 7 callersMethodthen
(self, callback, on_error=None, weak=False)
celery/result.py:844
↓ 7 callersFunctiontrace_task
(uuid, args, kwargs, request=None)
celery/app/trace.py:454
↓ 7 callersMethodupdate_strategies
(self)
celery/worker/consumer/consumer.py:791
↓ 7 callersMethodutcoffset
(self, dt)
t/unit/utils/test_time.py:317
↓ 6 callersMethodLoader
(*args, **kwargs)
t/unit/concurrency/test_prefork.py:143
↓ 6 callersMethodQueues
(self, queues, create_missing=None, create_missing_queue_type=None, create_missing_queue_exchan
celery/app/amqp.py:317
↓ 6 callersMethodState
(self)
celery/app/events.py:28
↓ 6 callersMethod_backend
(app, backend_cls)
t/unit/backends/test_asynchronous.py:754
↓ 6 callersMethod_create_write_handlers
Create handlers used to write data to child processes.
celery/concurrency/asynpool.py:796
↓ 6 callersMethod_fanout
(self, pb)
t/unit/app/test_beat.py:1577
↓ 6 callersMethod_flush_outqueue
(self, fd, remove, process_index, on_state_change)
celery/concurrency/asynpool.py:447
↓ 6 callersMethod_get_client
Get client connection.
celery/backends/dynamodb.py:168
↓ 6 callersMethod_get_task_meta_for
(self, task_id)
t/unit/backends/test_base.py:514
↓ 6 callersMethod_query
(self, req)
t/unit/worker/test_eta_query_task.py:89
↓ 6 callersMethod_schedule
(self, countdown=10)
t/unit/worker/test_eta_query_task.py:77
↓ 6 callersMethod_store_result
Store return value and state of an executed task.
celery/backends/cassandra.py:286
↓ 6 callersMethodadd_edge
Add an edge from object ``A`` to object ``B``. I.e. ``A`` depends on ``B``.
celery/utils/graph.py:52
↓ 6 callersMethodadd_pending_result
(self, *args, **kwargs)
t/unit/tasks/test_result.py:57
↓ 6 callersMethodapply_async
(self, *args, **kwargs)
t/unit/concurrency/test_prefork.py:320
↓ 6 callersMethodapply_async
(self, args=None, kwargs=None, add_to_parent=True, producer=None, link=None, link_error=No
celery/canvas.py:1899
↓ 6 callersMethodas_dict
(self)
celery/events/state.py:350
↓ 6 callersFunctionawait_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 callersMethodblue
(self, *s: object)
celery/utils/term.py:109
↓ 6 callersMethodbuildargs
(cls)
t/smoke/workers/dev.py:38
↓ 6 callersMethodcall_repeatedly
(self, *args: Any, **kwargs: Any)
celery/utils/timer2.py:135
↓ 6 callersMethodcall_soon
Schedule a callback. Callback ordering is not guaranteed across pool implementations.
celery/worker/consumer/consumer.py:270
↓ 6 callersMethodcancel
(self, pool, signal=None, emit_retry=True)
celery/worker/request.py:435
↓ 6 callersFunctionclose_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 callersMethodconnect
(self)
t/integration/test_tasks.py:983
↓ 6 callersMethodconnection
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 callersMethodconnection_for_read
(self, heartbeat=None)
celery/worker/consumer/consumer.py:634
↓ 6 callersMethodcreate_entry
(self, **kwargs)
t/unit/app/test_beat.py:65
↓ 6 callersMethoddelete_group
(self, group_id)
celery/backends/base.py:1000
↓ 6 callersFunctiondetect_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 callersMethoddisconnect
(self)
t/integration/test_tasks.py:987
↓ 6 callersMethodfind
(self, name)
celery/apps/multi.py:517
↓ 6 callersMethodformat_row
(self, uuid, task, worker, timestamp, state)
celery/events/cursesmon.py:67
↓ 6 callersFunctionget_active_redis_channels
()
t/integration/conftest.py:64
↓ 6 callersFunctionget_context_as_dict
(ctx, getter=getattr)
t/unit/tasks/test_context.py:6
↓ 6 callersMethodget_timezone
Returns ZoneInfo timezone if the provided zone is a string, otherwise return the zone.
celery/utils/time.py:162
↓ 6 callersMethodhandle_error_state
(self, task, req, eager=False, call_errbacks=True)
celery/app/trace.py:167
↓ 6 callersFunctionhandle_remote_command_error
(command: str, exc: Exception)
celery/bin/base.py:124
↓ 6 callersMethodimport_default_modules
(self)
celery/loaders/base.py:97
↓ 6 callersFunctionin_sighandler
Context that records that we are in a signal handler.
celery/utils/log.py:63
↓ 6 callersMethodincr
(self, key: bytes)
celery/backends/gcs.py:236
↓ 6 callersMethodinstantiate
(self, name, *args, **kwargs)
celery/bootsteps.py:330
↓ 6 callersMethodisatty
Here for file support.
celery/utils/log.py:258
↓ 6 callersMethodjoin_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 callersFunctionlinked_signature
(owner: Signature, option: str)
t/unit/test_canvas.py:10
↓ 6 callersFunctionload_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 callersFunctionmaybe_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
← previousnext →401–500 of 9,499, ranked by callers