MCPcopy Create free account

hub / github.com/celery/celery / functions

Functions9,499 in github.com/celery/celery

↓ 5 callersMethodimport_task_module
(self, module)
celery/loaders/base.py:83
↓ 5 callersMethodinvalidate
Dispose cached engine/session state for a database URI.
celery/backends/database/session.py:76
↓ 5 callersMethodisEnabledFor
(self, level)
t/unit/app/test_log.py:444
↓ 5 callersFunctionis_auto_concurrency
Return True if ``value`` is the ``auto`` concurrency sentinel. Accepts case-insensitive ``"auto"`` with surrounding whitespace stripped.
celery/utils/sysinfo.py:26
↓ 5 callersFunctionis_naive
Return True if :class:`~datetime.datetime` is naive, meaning it doesn't have timezone info set.
celery/utils/time.py:384
↓ 5 callersMethodlink
(self, callback)
celery/utils/abstract.py:129
↓ 5 callersMethodloop_args
(self)
celery/worker/consumer/consumer.py:560
↓ 5 callersMethodmark_as_revoked
(self, task_id, reason='', request=None, store_result=True, state=states.REVOKED)
celery/backends/base.py:445
↓ 5 callersFunctionmaybe_iso8601
Either ``datetime | str -> datetime`` or ``None -> None``.
celery/utils/time.py:375
↓ 5 callersFunctionmock_task
(name, state, result, traceback=None)
t/unit/tasks/test_result.py:29
↓ 5 callersMethodon_start
(self)
celery/apps/worker.py:136
↓ 5 callersMethodon_state_change
(self, meta, message)
celery/backends/rpc.py:146
↓ 5 callersMethodon_wait_for_pending
(self, result, **kwargs)
celery/backends/redis.py:309
↓ 5 callersFunctionparse_gid
Parse group id. Arguments: gid (str, int): Actual gid, or the name of a group. Returns: int: The actual gid of the group.
celery/platforms.py:513
↓ 5 callersFunctionparse_uid
Parse user id. Arguments: uid (str, int): Actual uid, or the username of a user. Returns: int: The actual uid.
celery/platforms.py:496
↓ 5 callersMethodpoll
(self, timeout=0.0)
t/unit/concurrency/test_prefork.py:80
↓ 5 callersMethodpop
Remove and return the oldest item, or :const:`None` when empty.
celery/utils/collections.py:654
↓ 5 callersFunctionprecedence
Get the precedence index for state. Lower index means higher precedence.
celery/states.py:81
↓ 5 callersFunctionpredicate
(value)
t/unit/utils/test_functional.py:65
↓ 5 callersFunctionprocess_initializer
Pool child process initializer. Initialize the child pool process to ensure the correct app instance is used and things like logging works.
celery/concurrency/prefork.py:47
↓ 5 callersMethodpublish
(*args, **kwargs)
t/unit/tasks/test_trace.py:69
↓ 5 callersFunctionpyimplementation
Return string identifying the current Python implementation.
celery/platforms.py:115
↓ 5 callersFunctionrate
Convert rate string (`"100/m"`, `"2/h"` or `"0.5/s"`) to seconds.
celery/utils/time.py:310
↓ 5 callersMethodread_configuration
Read configuration from :file:`celeryconfig.py`.
celery/loaders/default.py:25
↓ 5 callersMethodready
Did all of the tasks complete? (either by success of failure). Returns: bool: true if all of the tasks have been executed.
celery/result.py:693
↓ 5 callersMethodreject
(self, requeue=False)
celery/worker/request.py:907
↓ 5 callersFunctionsave_result
(app, task)
t/unit/tasks/test_result.py:36
↓ 5 callersMethodsay
(self, msg)
celery/events/dumper.py:42
↓ 5 callersMethodscale_up
(self, n)
celery/worker/autoscale.py:124
↓ 5 callersMethodsecho
(self, message=None, **kwargs)
celery/bin/base.py:62
↓ 5 callersMethodseconds_almost_equal
(self, a, b, precision)
t/unit/app/test_schedules.py:1204
↓ 5 callersMethodsend_all
(self, parent, method, description=None, reverse=True, propagate=True, args=())
celery/bootsteps.py:137
↓ 5 callersFunctionset_default_app
Set default app.
celery/_state.py:86
↓ 5 callersFunctionsetgroups
Set active groups from a list of group ids.
celery/platforms.py:549
↓ 5 callersMethodspawn
(self, func)
celery/backends/asynchronous.py:224
↓ 5 callersMethodstart
(self)
celery/worker/heartbeat.py:49
↓ 5 callersFunctionstart_worker
Start embedded worker. Yields: celery.app.worker.Worker: worker instance.
celery/contrib/testing/worker.py:100
↓ 5 callersFunctionstrtobool
Convert common terms for true/false to bool. Examples (true/false/yes/no/on/off/1/0).
celery/utils/serialization.py:200
↓ 5 callersFunctiontask_join_will_block
()
celery/_state.py:60
↓ 5 callersFunctiontask_ready
Update global state when a task is ready.
celery/worker/state.py:215
↓ 5 callersFunctionto_utc
Convert naive :class:`~datetime.datetime` to UTC.
celery/utils/time.py:459
↓ 5 callersMethodwait
(self, timeout=None)
celery/backends/asynchronous.py:62
↓ 5 callersMethodwait_for_soft_shutdown
Wait :setting:`worker_soft_shutdown_timeout` if soft shutdown is enabled. To enable soft shutdown, set the :setting:`worker_soft_shutdown_tim
celery/worker/worker.py:501
↓ 4 callersMethodReceiver
(self)
celery/app/events.py:18
↓ 4 callersFunctionTestApp
App used for testing.
celery/contrib/testing/app.py:47
↓ 4 callersMethod__json__
(self)
t/unit/app/test_app.py:1160
↓ 4 callersMethod__new__
(cls, *args, **kwargs)
t/unit/conftest.py:799
↓ 4 callersMethod__reduce__
(self)
t/unit/utils/test_local.py:288
↓ 4 callersMethod__repr__
(self)
t/unit/utils/test_saferepr.py:96
↓ 4 callersMethod__setattr__
(self, name, value)
celery/utils/threads.py:195
↓ 4 callersMethod_close_database
(self)
celery/fixups/django.py:257
↓ 4 callersMethod_close_session
(self)
celery/contrib/rdb.py:146
↓ 4 callersMethod_closer
(self, c)
t/unit/worker/test_consumer.py:615
↓ 4 callersMethod_encode
(self, data)
celery/backends/base.py:699
↓ 4 callersMethod_finish_partial_read
Complete a result message the event loop had only partly read. The event loop reads results with a resumable generator (:meth:`_recv_
celery/concurrency/asynpool.py:395
↓ 4 callersMethod_firestore_document
(self, key)
celery/backends/gcs.py:355
↓ 4 callersMethod_freeze_gid
Freeze the group id by the existing task_id or a new UUID.
celery/canvas.py:2125
↓ 4 callersMethod_get_app
(self, body=None)
celery/canvas.py:2784
↓ 4 callersMethod_get_blob
(self, key)
celery/backends/gcs.py:139
↓ 4 callersMethod_get_partition_key
(cls, key)
celery/backends/cosmosdbsql.py:151
↓ 4 callersMethod_get_pool
(self, **params)
celery/backends/redis.py:1079
↓ 4 callersFunction_is_empty_group
Return True if the task is a group with no members. Shared by canvas construction (_chain.__or__) and both execution paths -- the worker path
celery/canvas.py:62
↓ 4 callersFunction_is_imaginary
Return True if ``dt`` does not exist in ``tz`` due to a DST transition.
celery/utils/time.py:423
↓ 4 callersMethod_key_to_consul_key
(self, key)
celery/backends/consul.py:70
↓ 4 callersFunction_make_id
(target)
celery/utils/dispatch/signal.py:21
↓ 4 callersMethod_message
(self)
t/unit/app/test_beat.py:1586
↓ 4 callersMethod_parse_url
(cls, url)
celery/backends/cosmosdbsql.py:78
↓ 4 callersMethod_prepare_get_request
Construct the item retrieval request parameters.
celery/backends/dynamodb.py:442
↓ 4 callersMethod_prepared
Recursively unroll the group into a generator of its tasks. This is used by :meth:`apply_async` and :meth:`apply` to unroll the group
celery/canvas.py:2001
↓ 4 callersFunction_quick_drain
(connection, timeout=0.1)
celery/worker/loops.py:19
↓ 4 callersFunction_socket_readable
(sock, timeout)
celery/backends/redis.py:194
↓ 4 callersMethod_stamp
(self, job, stamps)
t/unit/worker/test_request.py:1024
↓ 4 callersMethod_start_node
(self, node)
celery/apps/multi.py:447
↓ 4 callersMethod_untrack_child_process
(self, proc, hub)
celery/concurrency/asynpool.py:590
↓ 4 callersMethod_update_prefetch_count
Update prefetch count after pool/shrink grow operations. Index must be the change in number of processes as a positive (increasing) o
celery/worker/consumer/consumer.py:322
↓ 4 callersMethod_validate_broker_urls
Validate and split broker URLs. Args: broker_urls: Broker URLs, either as a semicolon-separated string or as a
celery/worker/consumer/delayed_delivery.py:231
↓ 4 callersMethod_validate_queue_type
Validate the queue type configuration. Args: queue_type: The configured queue type Raises: ValueError: If qu
celery/worker/consumer/delayed_delivery.py:263
↓ 4 callersMethodadd_arc
Add an object to the graph.
celery/utils/graph.py:48
↓ 4 callersMethodadd_cert
(self, cert: Certificate)
celery/security/certificate.py:95
↓ 4 callersMethodadd_periodic_task
Add a periodic task to beat schedule. Celery beat store tasks based on `sig` or `name` if provided. Adding the same signatur
celery/app/base.py:1481
↓ 4 callersMethodadd_to_chord
Add signature to the chord the current task is a member of. .. versionadded:: 4.0 Currently only supported by the Redis result backe
celery/app/task.py:1197
↓ 4 callersMethodadd_trail
(self, result)
celery/app/task.py:1329
↓ 4 callersMethodadjust
(self, n, drift=-0.010)
celery/beat.py:298
↓ 4 callersMethodalert
(self, callback, title=None)
celery/events/cursesmon.py:155
↓ 4 callersMethodalive_workers
Return a list of (seemingly) alive workers.
celery/events/state.py:706
↓ 4 callersMethodappend_to_list_option
Appends the given value to the list at the given key in self.options.
celery/canvas.py:866
↓ 4 callersMethodapply
(self, args=None, kwargs=None, **options)
celery/canvas.py:1935
↓ 4 callersMethodapply_async
(self, task, args, kwargs, callback=None, **options)
examples/eventlet/bulk_task_producer.py:69
↓ 4 callersMethodapply_eta_task
Method called by the timer to apply a task with an ETA/countdown.
celery/worker/consumer/consumer.py:734
↓ 4 callersMethodas_tuple
(self)
celery/result.py:1025
↓ 4 callersMethodassert_routes_to_queue
(self, queue, router, name, args=None, kwargs=None, options=None)
t/unit/app/test_routes.py:53
↓ 4 callersMethodassert_size_and_first
(self, buf, size, expected_first_item)
t/unit/utils/test_collections.py:594
↓ 4 callersMethodbackend
(self, compression='gzip', serializer='json')
t/unit/backends/test_redis.py:2211
↓ 4 callersMethodbind_to
(self, callback)
celery/utils/collections.py:350
↓ 4 callersMethodcall_repeatedly
(rate, fn, args)
t/unit/worker/test_loops.py:763
↓ 4 callersMethodcancel
(self, tref: Entry)
celery/utils/timer2.py:141
↓ 4 callersMethodcancel_active_requests
Cancel active requests during shutdown. Cancels all active requests that either do not require late acknowledgments or, if they do, h
celery/worker/consumer/consumer.py:898
↓ 4 callersMethodcancel_consumer
Tell all (or specific) workers to stop consuming from ``queue``. See Also: Supports the same arguments as :meth:`broadcast`.
celery/app/control.py:637
↓ 4 callersMethodcapture
(self)
celery/events/snapshot.py:68
↓ 4 callersMethodclear
(self)
celery/utils/timer2.py:144
← previousnext →601–700 of 9,499, ranked by callers