MCPcopy Create free account

hub / github.com/celery/celery / functions

Functions9,499 in github.com/celery/celery

↓ 4 callersMethodclient
(self)
celery/backends/consul.py:65
↓ 4 callersMethodclose
(self, *args)
celery/platforms.py:423
↓ 4 callersMethodclose
Sync and release publishing resources; subclasses close storage. The base publishing properties are recreated lazily on next access.
celery/beat.py:478
↓ 4 callersMethodclose
(self, w)
celery/worker/components.py:130
↓ 4 callersMethodclose_connection
Close and clear c.connection. Used by shutdown() for final cleanup. The error handler in on_connection_error_after_connected() perfor
celery/worker/consumer/connection.py:25
↓ 4 callersMethodconnection
(self)
t/unit/utils/test_threads.py:88
↓ 4 callersMethodconsuming_from
(self, queue)
t/unit/worker/test_control.py:541
↓ 4 callersFunctioncontainer_cpu_count
CPUs in the affinity mask inside the worker container (host CPUs unless ``--cpuset-cpus`` is set; unaffected by the CFS quota).
t/smoke/tests/test_concurrency_auto.py:78
↓ 4 callersMethodcrontab
(self, *args, **kwargs)
t/unit/app/test_schedules.py:569
↓ 4 callersFunctioncwd_in_path
Context adding the current working directory to sys.path.
celery/utils/imports.py:49
↓ 4 callersMethoddelete
(self, key)
celery/backends/s3.py:74
↓ 4 callersMethoddrain_events
(self, timeout=None)
celery/backends/rpc.py:66
↓ 4 callersFunctiondump_body
Format message body for debugging purposes.
celery/worker/consumer/consumer.py:138
↓ 4 callersMethodempty
(self)
celery/utils/timer2.py:147
↓ 4 callersMethodensure
(self, fun, args, **policy)
celery/backends/redis.py:790
↓ 4 callersFunctionensure_serializable
Ensure items will serialize. For a given list of arbitrary objects, return the object or a string representation, safe for serialization.
celery/utils/serialization.py:80
↓ 4 callersFunctionerrback
(task_id)
t/smoke/tests/test_callback_publish_retry.py:70
↓ 4 callersFunctionexpand
(answer)
t/unit/app/test_routes.py:17
↓ 4 callersMethodexpand_destination
(self, route)
celery/app/routes.py:78
↓ 4 callersFunctionfake_resolver_dnspython
()
t/unit/backends/test_mongodb.py:57
↓ 4 callersFunctionfind_module
Version of :func:`imp.find_module` supporting dots.
celery/utils/imports.py:70
↓ 4 callersMethodfind_value_for_key
Shortcut to ``get_by_parts(*find_option(name)[:-1])``.
celery/app/utils.py:170
↓ 4 callersFunctionfirstmethod
Multiple dispatch. Return a function that with a list of instances, finds the first instance that gives a value for the given method. Th
celery/utils/functional.py:89
↓ 4 callersMethodfreeze
(self, id=None, group_id=None, chord=None, root_id=None, group_index=None)
celery/utils/abstract.py:120
↓ 4 callersFunctionfun_accepts_kwargs
Return true if function accepts arbitrary keyword arguments.
celery/utils/functional.py:457
↓ 4 callersFunctionfun_takes_argument
(name, fun, position=None)
celery/utils/functional.py:449
↓ 4 callersMethodget
(self, timeout=None, propagate=True, disable_sync_subtasks=True, **kwargs)
celery/result.py:1080
↓ 4 callersMethodget
(self, key)
celery/backends/couchdb.py:77
↓ 4 callersMethodget
(self, key)
celery/backends/couchbase.py:111
↓ 4 callersMethodget_id
Serial number/issuer pair uniquely identifies a certificate.
celery/security/certificate.py:61
↓ 4 callersMethodget_logger
(self, *args, **kwargs)
t/unit/app/test_log.py:422
↓ 4 callersFunctionget_optional_arg
Get the argument from an Optional[...] annotation, or None if it is no such annotation.
celery/utils/annotations.py:17
↓ 4 callersFunctionget_pickleable_exception
Make sure exception is pickleable.
celery/utils/serialization.py:161
↓ 4 callersFunctionget_pickled_exception
Reverse of :meth:`get_pickleable_exception`.
celery/utils/serialization.py:185
↓ 4 callersFunctionget_task_name
Use 'shadow' in request for the task name if applicable.
celery/app/trace.py:151
↓ 4 callersMethodget_traceback
Get the traceback for a failed task.
celery/backends/base.py:896
↓ 4 callersMethodgroup
(self)
celery/canvas.py:1746
↓ 4 callersMethodhandle_process_exit
(self, retcode, on_signalled=None, on_failure=None)
celery/apps/multi.py:240
↓ 4 callersMethodhelper_test_get_delay
(result)
t/unit/tasks/test_canvas.py:2303
↓ 4 callersFunctionhybrid_to_proto2
Create a fresh protocol 2 message from a hybrid protocol 1/2 message.
celery/worker/strategy.py:25
↓ 4 callersFunctionignore_errno
Context manager to ignore specific POSIX error codes. Takes a list of error codes to ignore: this can be either the name of the code, or the
celery/platforms.py:824
↓ 4 callersMethodinit_worker
(self)
celery/loaders/base.py:107
↓ 4 callersMethodis_stale
(self)
celery/beat.py:821
↓ 4 callersMethoditer_native
Backend optimized version of :meth:`iterate`. .. versionadded:: 2.2 Note that this does not support collecting the results f
celery/result.py:847
↓ 4 callersMethoditerdeps
(self, intermediate=False)
celery/result.py:339
↓ 4 callersMethodjoin
(self)
t/unit/concurrency/test_prefork.py:296
↓ 4 callersMethodlabel
(self, obj)
celery/utils/graph.py:280
↓ 4 callersFunctionmake_mock_group
(app, size=10)
t/unit/tasks/test_result.py:50
↓ 4 callersMethodmaybe_expire
If expired, mark the task as revoked.
celery/worker/request.py:415
↓ 4 callersFunctionmaybe_patch_concurrency
Apply eventlet/gevent monkeypatches. With short and long opt alternatives that specify the command line option to set the pool, this makes su
celery/__init__.py:119
↓ 4 callersMethodmaybe_throw
(self, callback=None, propagate=True)
celery/result.py:679
↓ 4 callersMethodmget
(self, keys)
celery/backends/couchbase.py:126
↓ 4 callersMethodmove_context
(self, **kwargs)
t/unit/contrib/test_migrate.py:57
↓ 4 callersMethodmsgpair
(self, **kwargs)
t/unit/contrib/test_migrate.py:67
↓ 4 callersMethodno_color
(self)
celery/utils/term.py:77
↓ 4 callersMethodon_accepted
Handler called when task is accepted by worker pool.
celery/worker/request.py:525
↓ 4 callersMethodon_after_fork
(self)
celery/backends/rpc.py:128
↓ 4 callersMethodon_signature
(self, actual_sig: Signature, **headers)
t/unit/tasks/test_stamping.py:13
↓ 4 callersMethodon_start
(self)
celery/worker/worker.py:214
↓ 4 callersMethodon_stop
(self)
celery/worker/pidbox.py:56
↓ 4 callersMethodperform_pending_operations
(self)
celery/worker/consumer/consumer.py:305
↓ 4 callersMethodperform_seedlist_assertions
(self)
t/unit/backends/test_mongodb.py:242
↓ 4 callersFunctionpluralize
Pluralize term when n is greater than one.
celery/utils/text.py:96
↓ 4 callersFunctionpoll_until_ready
Read the state the way a client does, and return each state seen.
t/smoke/tests/test_revoke.py:32
↓ 4 callersMethodpop
(self, key, *default)
celery/utils/collections.py:228
↓ 4 callersMethodprepare_expires
(self, value, type=None)
celery/backends/base.py:747
↓ 4 callersMethodprepare_models
(self, engine)
celery/backends/database/session.py:83
↓ 4 callersMethodprocess_cleanup
Cleanup actions to do at the end of a task worker process.
celery/backends/base.py:1007
↓ 4 callersMethodpurge_messages
(self)
celery/apps/worker.py:227
↓ 4 callersMethodqos_global
Determine if global QoS should be applied. Additional information: https://www.rabbitmq.com/docs/consumer-prefetch ht
celery/worker/consumer/tasks.py:103
↓ 4 callersMethodreadline
(self, x, y)
celery/events/cursesmon.py:220
↓ 4 callersMethodrecv
(self)
t/unit/concurrency/test_prefork.py:84
↓ 4 callersMethodregister_with_event_loop
(hub)
t/unit/worker/test_loops.py:516
↓ 4 callersMethodregister_with_event_loop
(self, loop)
t/unit/concurrency/test_prefork.py:323
↓ 4 callersMethodrelease
()
t/unit/concurrency/test_gevent.py:76
↓ 4 callersFunctionremaining
Calculate the real remaining time for a start date and a timedelta. For example, "how many seconds left for 30 seconds after start?" For rel
celery/utils/time.py:236
↓ 4 callersMethodremove_pending_result
(self, result)
celery/backends/base.py:1158
↓ 4 callersFunctionremove_repeating_from_task
Given task name, remove repeating module names. Example: >>> remove_repeating_from_task( ... 'tasks.add', ... 'ta
celery/utils/text.py:141
↓ 4 callersMethodreport
(self)
celery/bin/logtool.py:101
↓ 4 callersFunctionreqs
Parse requirement file. Example: reqs('default.txt') # requirements/default.txt reqs('extras', 'redis.txt') # requireme
setup.py:101
↓ 4 callersMethodreset
(self)
celery/worker/pidbox.py:63
↓ 4 callersFunctionreset_worker_optimizations
Reset previously configured optimizations.
celery/app/trace.py:847
↓ 4 callersMethodrestore
(self)
celery/utils/serialization.py:141
↓ 4 callersFunctionrestore_execv_state
Undo the "this process is a spawned pool child" marks on exit. Starting a prefork pool or running ``process_initializer()`` in-process sets `
t/unit/conftest.py:108
↓ 4 callersMethodrevoke
Tell all (or specific) workers to revoke a task by id (or list of ids). If a task is revoked, the workers will ignore the task and no
celery/app/control.py:488
↓ 4 callersMethodrevoked
If revoked, skip task and mark state.
celery/worker/request.py:477
↓ 4 callersMethodroute
(self, options, name, args=(), kwargs=None, task_type=None)
celery/app/routes.py:66
↓ 4 callersMethodrun
()
t/unit/backends/test_cassandra.py:629
↓ 4 callersMethodscale_down
(self, n)
celery/worker/autoscale.py:128
↓ 4 callersMethodselect_add
Add new task queue that'll be consumed from. The queue will be active even when a subset has been selected using the :option:`celery
celery/app/amqp.py:192
↓ 4 callersMethodsend_all
(self, sig)
celery/apps/multi.py:455
↓ 4 callersMethodset
(self, immutable=None, **options)
celery/utils/abstract.py:125
↓ 4 callersMethodsetup
(self)
t/unit/events/test_state.py:23
↓ 4 callersFunctionsetup_worker_optimizations
Setup worker related optimizations.
celery/app/trace.py:817
↓ 4 callersMethodsign
Sign string containing data.
celery/security/key.py:27
↓ 4 callersMethodsimple_queue_setup
(self)
t/unit/app/test_routes.py:202
↓ 4 callersMethodstamp_links
Stamp this signature links (callbacks and errbacks). Using a visitor will pass on responsibility for the stamping to the visitor.
celery/canvas.py:800
↓ 4 callersMethodstart
(self, c)
celery/worker/consumer/gossip.py:106
↓ 4 callersMethodstate
(self)
t/unit/tasks/test_result.py:711
↓ 4 callersMethodstop
(self)
t/unit/concurrency/test_prefork.py:44
← previousnext →701–800 of 9,499, ranked by callers