MCPcopy Create free account

hub / github.com/celery/celery / functions

Functions9,499 in github.com/celery/celery

↓ 1 callersMethodon_worker_init
Called when the worker (:program:`celery worker`) starts.
celery/loaders/base.py:74
↓ 1 callersMethodon_worker_shutdown
Called when the worker (:program:`celery worker`) shuts down.
celery/loaders/base.py:77
↓ 1 callersMethodoptions
(self)
celery/utils/abstract.py:97
↓ 1 callersFunctionowner
(receiver)
t/integration/test_worker.py:151
↓ 1 callersFunctionpadlist
Pad list with default elements. Example: >>> first, last, city = padlist(['George', 'Costanza', 'NYC'], 3) ('George', 'Costanza',
celery/utils/functional.py:140
↓ 1 callersMethodparse
(self, spec: str)
celery/schedules.py:291
↓ 1 callersFunctionparse_dist_meta
Extract metadata information from ``$dist/__init__.py``.
setup.py:64
↓ 1 callersFunctionpart_return
(index, result)
t/integration/test_redis_backend.py:281
↓ 1 callersFunctionpatch_unlock_retry
(app)
t/unit/tasks/test_chord.py:60
↓ 1 callersMethodperiodic
(self)
celery/worker/consumer/gossip.py:161
↓ 1 callersMethodperiodic
(self)
celery/app/registry.py:53
↓ 1 callersFunctionprepare
Expand the :setting:`task_routes` setting.
celery/app/routes.py:122
↓ 1 callersMethodprepare_args
(self, **kwargs)
celery/worker/worker.py:263
↓ 1 callersMethodprepare_compression
Return the compression method to encode results with. Returns :const:`None` when results should be stored uncompressed, either becaus
celery/backends/base.py:724
↓ 1 callersMethodprepare_config
Prepare configuration before it is merged with the defaults.
celery/app/base.py:1378
↓ 1 callersMethodprepare_consumer
(self, consumer)
celery/contrib/migrate.py:301
↓ 1 callersMethodprepare_message
(self, message)
t/unit/worker/test_strategy.py:76
↓ 1 callersMethodprepare_persistent
(self, enabled=None)
celery/backends/base.py:756
↓ 1 callersMethodprepare_pidfile_for_getpids
(self, Pidfile)
t/unit/apps/test_multi.py:589
↓ 1 callersMethodpretty_dict_ok_error
(self, n)
celery/bin/base.py:106
↓ 1 callersMethodpretty_list
(self, n)
celery/bin/base.py:99
↓ 1 callersMethodprocess
Process event by dispatching to configured handler.
celery/events/receiver.py:82
↓ 1 callersFunctionprocess_line
(line)
docs/changelog_formatter.py:31
↓ 1 callersMethodprocess_long_opt
(self, arg, value=None)
celery/apps/multi.py:100
↓ 1 callersMethodprocess_short_opt
(self, arg, value=None)
celery/apps/multi.py:105
↓ 1 callersFunctionproper_name
(name)
extra/release/attribution.py:16
↓ 1 callersMethodpublish
(*args, **kwargs)
t/integration/test_tasks.py:116
↓ 1 callersFunctionpydantic_wrapper
Wrapper to validate arguments and serialize return values using Pydantic.
celery/app/base.py:169
↓ 1 callersFunctionquery_task
Query for task information by id.
celery/worker/control.py:108
↓ 1 callersMethodquery_task_states
(self, ids, timeout=0.5)
celery/contrib/testing/manager.py:145
↓ 1 callersMethodquery_tasks
(self, ids, timeout=0.5)
celery/contrib/testing/manager.py:141
↓ 1 callersMethodqueue
(self)
celery/result.py:576
↓ 1 callersFunctionread_changes_file
(filename)
docs/changelog_formatter.py:17
↓ 1 callersMethodread_configuration
(self)
t/unit/app/test_loaders.py:17
↓ 1 callersMethodread_configuration
(self, env='CELERY_CONFIG_MODULE')
celery/loaders/base.py:208
↓ 1 callersFunctionread_from_clipboard
()
docs/changelog_formatter.py:26
↓ 1 callersMethodready
(self, *args, **kwargs)
t/smoke/conftest.py:25
↓ 1 callersMethodrebuild_taskheap
(self, timetuple=timetuple)
celery/events/state.py:643
↓ 1 callersFunctionreentrant
(command)
t/integration/test_redis_backend.py:181
↓ 1 callersMethodregister
(cls, other)
celery/utils/abstract.py:23
↓ 1 callersMethodregister
Register a task in the task registry. The task will be automatically instantiated if not already an instance. Name must be configured
celery/app/registry.py:20
↓ 1 callersMethodregister_callback
(x)
t/unit/contrib/test_migrate.py:130
↓ 1 callersMethodregister_with_event_loop
(self, w, hub)
celery/worker/autoscale.py:57
↓ 1 callersMethodregister_with_event_loop
(self, hub)
celery/concurrency/asynpool.py:358
↓ 1 callersMethodregister_with_event_loop
Register the async pool with the current event loop.
celery/concurrency/asynpool.py:597
↓ 1 callersMethodregister_with_event_loop
(self, loop)
celery/concurrency/prefork.py:205
↓ 1 callersMethodregular
(self)
celery/app/registry.py:50
↓ 1 callersMethodreload_group_result
Reload group result, even if it has been previously fetched.
celery/backends/base.py:973
↓ 1 callersMethodreload_task_result
Reload task result, even if it has been previously fetched.
celery/backends/base.py:958
↓ 1 callersMethodremaining_estimate
(self, last_run_at: datetime)
celery/schedules.py:151
↓ 1 callersMethodremaining_estimate
Estimate of next run time. Returns when the periodic task should run next as a :class:`~datetime.timedelta`.
celery/schedules.py:675
↓ 1 callersMethodremark
(self, s, sep='-')
celery/contrib/testing/manager.py:40
↓ 1 callersFunctionremove_repeating
Remove repeating module names from string. Arguments: substr (str): The substring to remove repeating occurrences of. s (str): Th
celery/utils/text.py:159
↓ 1 callersMethodreplace
Replace the args, kwargs or options set for this signature. These are only replaced if the argument for the section is not :const:`No
celery/canvas.py:688
↓ 1 callersFunctionreport_internal_error
(task, exc)
celery/app/trace.py:804
↓ 1 callersFunctionreprstream
Streaming repr, yielding tokens.
celery/utils/saferepr.py:211
↓ 1 callersFunctionreset_multiprocessing_logger
Reset multiprocessing logging setup.
celery/utils/log.py:273
↓ 1 callersFunctionresolve
(S, type)
docs/_ext/celerydocs.py:89
↓ 1 callersMethodrespond
(self, retval)
celery/bin/amqp.py:33
↓ 1 callersMethodrestart
(self, parent, method='stop', description='restarting', propagate=False)
celery/bootsteps.py:133
↓ 1 callersMethodrestart
(self)
celery/concurrency/base.py:116
↓ 1 callersMethodrestart
(self)
celery/concurrency/prefork.py:198
↓ 1 callersMethodretry_over_time
(self, *args, **kwargs)
celery/contrib/testing/manager.py:110
↓ 1 callersMethodreverse
(self, *s: object)
celery/utils/term.py:133
↓ 1 callersMethodrevive
(self, channel)
celery/backends/rpc.py:400
↓ 1 callersFunctionrevoke
Revoke task by task id (or list of ids). Keyword Arguments: terminate (bool): Also terminate the process if the task is active. s
celery/worker/control.py:142
↓ 1 callersFunctionrevoked_ids
(setup: CeleryTestSetup, worker: CeleryTestWorker)
t/smoke/tests/test_revoked_sync.py:23
↓ 1 callersMethodroute_for_task
(self, task, args, kwargs)
t/unit/app/test_routes.py:210
↓ 1 callersFunctionrun
()
t/integration/test_redis_backend.py:201
↓ 1 callersMethodrun
()
t/unit/utils/test_objects.py:87
↓ 1 callersMethodrun
Executes the chain. Responsible for executing the chain in the correct order. In a case of a chain of a single task, the task is exec
celery/canvas.py:1241
↓ 1 callersMethodrun
Execute the chord. Executing the chord means executing the header and sending the result to the body. In case of an empty header, the
celery/canvas.py:2602
↓ 1 callersFunctionrun_one_fixture_cycle
()
t/integration/test_backend_leak_in_fixture_teardown.py:29
↓ 1 callersMethodsadd
(self, key, value)
t/unit/backends/test_redis.py:189
↓ 1 callersMethodsafe_add_str
(self, y, x, string, *args, **kwargs)
celery/events/cursesmon.py:428
↓ 1 callersFunctionsample
Given a list `x` a sample of length ``n`` of that list is returned. For example, if `n` is 10, and `x` has 100 items, a list of every tenth.
celery/utils/debug.py:102
↓ 1 callersMethodsave
(self)
celery/worker/state.py:329
↓ 1 callersFunctionsay
(what)
examples/periodic-tasks/myapp.py:46
↓ 1 callersMethodsay_chat
(self, direction, title, body='', show_body=False)
celery/bin/base.py:115
↓ 1 callersMethodscale_up
(self, n)
t/unit/worker/test_autoscale.py:124
↓ 1 callersMethodselect_queues
Select subset of queues. Arguments: queues (Sequence[str]): a list of queue names to keep.
celery/app/base.py:1387
↓ 1 callersMethodsend
Send signal from sender to all connected receivers. If any receiver raises an error, the exception is returned as the corresponding r
celery/utils/dispatch/signal.py:260
↓ 1 callersMethodsend_ack
(response, pid, job, fd)
celery/concurrency/asynpool.py:1028
↓ 1 callersMethodsend_hello
(self, c)
celery/worker/consumer/mingle.py:51
↓ 1 callersMethodsession_factory
(self, dburi, **kwargs)
celery/backends/database/session.py:138
↓ 1 callersMethodset
(self, key, value)
celery/backends/filesystem.py:90
↓ 1 callersMethodset
(self, key, value)
celery/backends/base.py:1234
↓ 1 callersMethodset_immutable
(self, immutable)
celery/canvas.py:715
↓ 1 callersMethodset_process_status
(self, info)
celery/apps/worker.py:316
↓ 1 callersFunctionset_trap
Contextmanager that installs the trap app. The trap means that anything trying to use the current or default app will raise an exception.
celery/contrib/testing/app.py:69
↓ 1 callersMethodsetdefault
(self, key, default=None)
celery/utils/collections.py:153
↓ 1 callersMethodsetex
(self, key, expires, value)
t/unit/backends/test_redis.py:124
↓ 1 callersMethodsetitem
(self, dic, name, value=SENTINEL, new=MagicMock, **kwargs)
t/unit/conftest.py:609
↓ 1 callersMethodsetup
(self)
t/unit/events/test_state.py:116
↓ 1 callersFunctionsetup_app_for_worker
Setup the app to be used for starting an embedded worker.
celery/contrib/testing/worker.py:219
↓ 1 callersMethodsetup_defaults
(self, concurrency=None, loglevel='WARN', logfile=None, task_events=None, pool=None, co
celery/worker/worker.py:432
↓ 1 callersMethodsetup_includes
(self, includes)
celery/worker/worker.py:251
↓ 1 callersMethodsetup_instance
(self, queues=None, ready_callback=None, pidfile=None, include=None, use_eventloop=None
celery/worker/worker.py:108
↓ 1 callersMethodsetup_logging
(self, colorize: bool | None = None)
celery/apps/beat.py:90
↓ 1 callersMethodsetup_logging
(self, colorize=None)
celery/apps/worker.py:192
← previousnext →2,201–2,300 of 9,499, ranked by callers