MCPcopy Create free account

hub / github.com/celery/celery / functions

Functions9,499 in github.com/celery/celery

↓ 3 callersMethodsend_event
Send monitoring event message. This can be used to add custom event types in :pypi:`Flower` and other monitors. Arguments:
celery/app/task.py:1100
↓ 3 callersMethodset
(self, key, value, expire=0, noreply=None, flags=None)
t/unit/backends/test_cache.py:237
↓ 3 callersMethodset
(self)
celery/backends/asynchronous.py:59
↓ 3 callersMethodset_immutable
(self, immutable)
celery/canvas.py:1951
↓ 3 callersFunctionset_process_title
Set the :command:`ps` name for the currently running process. Only works if :pypi:`setproctitle` is installed.
celery/platforms.py:787
↓ 3 callersFunctionsetgid
Version of :func:`os.setgid` supporting group names.
celery/platforms.py:582
↓ 3 callersFunctionsetup_default_app
Setup default app for testing. Ensures state is clean after the test returns.
celery/contrib/testing/app.py:90
↓ 3 callersMethodsetup_election
(self, g, c)
t/unit/worker/test_consumer.py:2133
↓ 3 callersMethodsetup_handlers
(self, logger, logfile, format, colorize, formatter=ColorFormatter, datefmt=None, **kwa
celery/app/log.py:224
↓ 3 callersMethodsetup_queues
(self, include, exclude=None)
celery/worker/worker.py:235
↓ 3 callersMethodsetup_schedule
(self)
celery/beat.py:463
↓ 3 callersMethodsetup_task_loggers
Setup the task logger. If `logfile` is not specified, then `sys.stderr` is used. Will return the base task logger object.
celery/app/log.py:165
↓ 3 callersMethodshutdown
Shutdown worker(s). See Also: Supports the same arguments as :meth:`broadcast`
celery/app/control.py:714
↓ 3 callersMethodsignal_consumer_close
(self)
celery/worker/worker.py:301
↓ 3 callersFunctionsimple_format
Format string, expanding abbreviations in keys'.
celery/utils/text.py:120
↓ 3 callersMethodstarmap
Create a :class:`~celery.canvas.xstarmap` task from ``it``.
celery/app/task.py:1095
↓ 3 callersMethodstart
(self)
t/unit/apps/test_beat.py:23
↓ 3 callersMethodstart
(self, c)
celery/worker/pidbox.py:51
↓ 3 callersMethodstart
(self, c)
celery/worker/consumer/mingle.py:36
↓ 3 callersFunctionstart_filter
Filter tasks.
celery/contrib/migrate.py:337
↓ 3 callersMethodstartup_info
(self, artlines=True)
celery/apps/worker.py:248
↓ 3 callersMethodstop
(self)
celery/worker/heartbeat.py:56
↓ 3 callersMethodstop
Stop task consumer.
celery/worker/consumer/tasks.py:85
↓ 3 callersFunctionstr_to_list
Convert string to list.
celery/utils/text.py:28
↓ 3 callersMethodtable
(self, with_defaults=False, censored=True)
celery/app/utils.py:193
↓ 3 callersMethodtake
(self, *default)
celery/utils/collections.py:779
↓ 3 callersMethodtask
()
t/unit/tasks/test_tasks.py:1654
↓ 3 callersFunctiontask_reserved
Update global state when a task has been reserved.
celery/worker/state.py:165
↓ 3 callersMethodterminate
(self, w)
celery/worker/components.py:86
↓ 3 callersMethodto_dict
(self)
celery/backends/database/models.py:45
↓ 3 callersMethodto_dot
Convert the graph to DOT format. Arguments: fh (IO): A file, or a file-like object to write the graph to. formatter (
celery/utils/graph.py:164
↓ 3 callersFunctiontry_import
Try to import and return module. Returns None if the module does not exist.
celery/local.py:41
↓ 3 callersMethodtz_or_local
Return either our local timezone or the provided timezone.
celery/utils/time.py:134
↓ 3 callersMethodunregister
Unregister task by name. Arguments: name (str): name of the task to unregister, or a :class:`celery.app.task.Task
celery/app/registry.py:34
↓ 3 callersMethodupdate
Update values from another entry. Will only update "editable" fields: ``task``, ``schedule``, ``args``, ``kwargs``, ``options``.
celery/beat.py:155
↓ 3 callersMethodupdate_state
Update task state. Arguments: task_id (str): Id of the task to update. Defaults to the id of the current task.
celery/app/task.py:1221
↓ 3 callersMethodvalidate_models
(self)
celery/fixups/django.py:188
↓ 3 callersMethodwait_for
Wait for event to happen. The `catch` argument specifies the exception that means the event has not happened yet.
celery/contrib/testing/manager.py:52
↓ 3 callersMethodwait_until_idle
(self)
celery/contrib/testing/manager.py:215
↓ 3 callersMethodwas_rate_limited
(self)
t/unit/worker/test_strategy.py:99
↓ 3 callersMethodwas_scheduled
(self)
t/unit/worker/test_strategy.py:111
↓ 3 callersFunctionworker_direct
Return the :class:`kombu.Queue` being a direct route to a worker. Arguments: hostname (str, ~kombu.Queue): The fully qualified node name
celery/utils/nodenames.py:38
↓ 3 callersMethodwrite_pid
(self)
celery/platforms.py:224
↓ 3 callersMethodzadd
(self, key, mapping)
t/unit/backends/test_redis.py:164
↓ 2 callersMethodAsyncResult
(self)
celery/canvas.py:1019
↓ 2 callersMethodCluster
(self, nodes, cmd=None)
celery/bin/multi.py:373
↓ 2 callersMethod_LRUkey
(self)
celery/utils/collections.py:61
↓ 2 callersMethod__delattr__
(self, name)
celery/local.py:155
↓ 2 callersMethod__delete__
(self, obj)
celery/utils/deprecated.py:101
↓ 2 callersMethod__enter__
(self)
t/unit/backends/test_redis.py:59
↓ 2 callersMethod__exit__
(self, type, value, traceback)
t/unit/backends/test_redis.py:62
↓ 2 callersMethod__init__
(self, data)
t/unit/backends/test_cache.py:18
↓ 2 callersMethod__init__
(self, app, *args, **kwargs)
t/unit/backends/test_base.py:480
↓ 2 callersMethod__init__
(self, *args, **kwargs)
t/unit/app/test_beat.py:140
↓ 2 callersMethod__init__
(self)
celery/utils/threads.py:175
↓ 2 callersMethod__init__
(self, *maps, **kwargs)
celery/utils/collections.py:211
↓ 2 callersMethod__init__
(self, host=None, port=None, db=None, password=None, max_connections=None, url=None,
celery/backends/redis.py:498
↓ 2 callersMethod__missing__
(self, key)
celery/utils/collections.py:237
↓ 2 callersMethod__reduce__
(self)
celery/result.py:440
↓ 2 callersMethod__reduce__
(self)
celery/beat.py:1037
↓ 2 callersMethod__reduce_args__
Deprecated method, please use :meth:`__reduce_keys__` instead.
celery/app/base.py:1610
↓ 2 callersMethod__repr__
(self)
celery/exceptions.py:208
↓ 2 callersMethod__set__
(self, obj, value)
celery/local.py:441
↓ 2 callersMethod__then__
(self, fun, *args, **kwargs)
celery/local.py:297
↓ 2 callersMethod_acquire_producer
Helper for :meth:`producer_or_acquire`.
celery/app/base.py:1347
↓ 2 callersMethod_add_body_callbacks
Move ``link`` and ``link_error`` from ``options`` to the body. ``link`` is linked to the body as :meth:`link` does. ``link_error`` is
celery/canvas.py:2565
↓ 2 callersMethod_add_pending_result
(self, task_id, result, weak=False)
celery/backends/asynchronous.py:285
↓ 2 callersMethod_add_periodic_task
(self, key, entry, name=None)
celery/app/base.py:1512
↓ 2 callersFunction_ancestors
Return ``path`` and every ancestor up to and including the root. ``'/a/b'`` -> ``['/a/b', '/a', '/']``. A path that does not start with ``/``
celery/utils/sysinfo.py:106
↓ 2 callersMethod_assert_header_received_delay
(self, canvas, header_size, **delay)
t/unit/tasks/test_canvas.py:2713
↓ 2 callersMethod_autodiscover_tasks_from_names
(self, packages, related_name)
celery/app/base.py:1020
↓ 2 callersMethod_body_options
Options passed on to the body: the header task that fires the body is its parent.
celery/canvas.py:2560
↓ 2 callersFunction_callback_publish_max_retries
(retry_policy, default_policy)
celery/app/amqp.py:59
↓ 2 callersFunction_can_detect_ambiguous
Helper function to determine if a timezone can detect ambiguous times using dateutil.
celery/utils/time.py:404
↓ 2 callersFunction_check_expire
(expire)
t/unit/backends/test_cache.py:217
↓ 2 callersMethod_chord_part_return_script
(self)
celery/backends/redis.py:893
↓ 2 callersMethod_cleanup_after_job_finish
(greenlet, pool_map, pid)
celery/concurrency/gevent.py:171
↓ 2 callersMethod_clear
(self, ready=True)
celery/events/state.py:467
↓ 2 callersFunction_clear_chord_option
Remove the chord callback from the terminal tasks of a signature.
celery/canvas.py:184
↓ 2 callersMethod_clear_tasks
(self, ready: bool = True)
celery/events/state.py:455
↓ 2 callersMethod_clear_timezone_cache
(self)
t/unit/app/test_app.py:2016
↓ 2 callersMethod_close
(self, c)
celery/worker/consumer/events.py:61
↓ 2 callersMethod_close_channel
(self, c)
celery/worker/pidbox.py:67
↓ 2 callersMethod_cluster_from_argv
(self, argv, cmd=None)
celery/bin/multi.py:369
↓ 2 callersMethod_collect_into
(self, result, bucket)
celery/backends/asynchronous.py:238
↓ 2 callersFunction_compile_arguments
(command, args)
celery/bin/control.py:44
↓ 2 callersMethod_configure_logger
(self, logger, logfile, loglevel, format, colorize, **kwargs)
celery/app/log.py:157
↓ 2 callersMethod_connection
(self, url, userid=None, password=None, virtual_host=None, port=None, ssl=None,
celery/app/base.py:1287
↓ 2 callersMethod_consume_from
(self, task_id)
celery/backends/redis.py:405
↓ 2 callersFunction_create_app
Utility context used to setup Celery app for pytest fixtures.
celery/contrib/pytest.py:33
↓ 2 callersMethod_create_exchange
(self, name, type='direct', delivery_mode=2)
celery/backends/rpc.py:219
↓ 2 callersMethod_create_mock_callback
Helper to create mock callbacks with common setup.
t/unit/backends/test_base.py:1240
↓ 2 callersFunction_create_pidlock
(pidfile)
celery/platforms.py:275
↓ 2 callersMethod_create_tables
Create the task and taskset tables.
celery/backends/database/__init__.py:134
↓ 2 callersMethod_create_timelimit_handlers
Create handlers used to implement time limits.
celery/concurrency/asynpool.py:624
↓ 2 callersMethod_decode_stored_result
Decode a value stored in the ``result`` column. Rows written before the fix for celery/celery#3025 always stored a raw pickle blob re
celery/backends/database/__init__.py:269
↓ 2 callersMethod_delete_chord_key
(self, key)
celery/backends/gcs.py:341
↓ 2 callersMethod_descend
Count the number of tasks in the given signature recursively. Descend into the signature object and return the amount of tasks it contains.
celery/canvas.py:2524
↓ 2 callersMethod_destroy_open_corrupted_schedule
(self, exc)
celery/beat.py:586
↓ 2 callersMethod_discard_tref
(job)
celery/concurrency/asynpool.py:645
← previousnext →1,001–1,100 of 9,499, ranked by callers