MCPcopy Create free account

hub / github.com/python-arq/arq / functions

Functions305 in github.com/python-arq/arq

Method__str__
(self)
arq/worker.py:110
Method__str__
(self)
arq/worker.py:126
Function_fix_loop
(event_loop: asyncio.AbstractEventLoop)
tests/conftest.py:19
Function_log
(s)
tests/test_utils.py:77
Functionafter_end
(ctx)
tests/test_worker.py:1002
Functionarq_redis
(test_redis_host: str, test_redis_port: int)
tests/conftest.py:50
Functionarq_redis_msgpack
(test_redis_host: str, test_redis_port: int)
tests/conftest.py:65
Functionarq_redis_retry
(test_redis_host: str, test_redis_port: int)
tests/conftest.py:79
Functionbar
(ctx, v)
tests/test_worker.py:773
Functionbarfoo
In order to test cron job singleton, we must have two different functions when bursting
tests/test_cron.py:233
Functioncount
(ctx, v)
tests/test_main.py:174
Functioncreate
(functions=[], burst=True, poll_delay=0, max_jobs=10, arq_redis=arq_redis, **kwargs)
tests/conftest.py:97
Functioncreate_pool_
(settings, *args, **kwargs)
tests/conftest.py:136
Functioncustom_serializer
(x)
tests/test_jobs.py:143
Functiondo_stuff
(ctx)
docs/examples/job_abort.py:6
Functiondownload_content
(ctx, url)
docs/examples/main_demo.py:10
Functiondownload_content
(ctx, url)
docs/examples/retry.py:6
Functionenv
()
tests/conftest.py:179
Functionerror_function
(ctx)
tests/test_worker.py:469
Functionexample
(ctx)
tests/test_worker.py:492
Methodextra
(self)
tests/test_worker.py:465
Functionfails
(ctx)
tests/test_worker.py:34
Functionfix_cancel_remaining_task
(loop)
tests/conftest.py:147
Functionfix_create_pool
(loop)
tests/conftest.py:133
Functionfoo
(ctx, v)
tests/test_worker.py:770
Functionfoobar
(ctx)
tests/test_cli.py:9
Functionfoobar
(ctx)
tests/test_worker.py:30
Functionfoobar
(ctx)
tests/test_jobs.py:48
Functionfoobar
(ctx)
tests/test_main.py:22
Functionfoobar
(ctx)
tests/test_cron.py:148
Methodjob_failed
(exc: BaseException)
arq/worker.py:495
Functionlongfunc
(ctx)
tests/test_worker.py:858
Functionon_end
(ctx)
tests/test_worker.py:998
Functionon_start
(ctx)
tests/test_worker.py:994
Functionparent_job
(ctx)
tests/test_main.py:53
Methodparse_redis_settings
(cls, v)
tests/test_utils.py:117
Methodpool
(self)
arq/worker.py:346
Functionraise_second_time
(ctx)
tests/test_worker.py:754
Functionredis_container
(redis_version: str)
tests/conftest.py:29
Functionredis_settings_validation
()
tests/test_utils.py:112
Functionredis_version
()
tests/conftest.py:24
Functionretry
(ctx)
tests/test_worker.py:209
Functionretry_job
(ctx)
tests/test_worker.py:164
Functionreturn_error
(ctx)
tests/test_worker.py:590
Functionreturn_something
(ctx)
tests/test_worker.py:580
Functionrun_regularly
(ctx)
docs/examples/cron.py:3
Functionsetup_worker_connection
(test_redis_host: str, test_redis_port: int)
tests/test_cli.py:19
Functionshortfunc
(ctx)
tests/test_worker.py:947
Functionshutdown
(ctx)
tests/test_worker.py:453
Functionshutdown
(ctx)
docs/examples/main_demo.py:19
Functionshutdown
(ctx)
docs/examples/retry.py:19
Functionsleep_job
(ctx, time)
tests/test_worker.py:118
Functionstartup
(ctx)
tests/test_worker.py:450
Functionstartup
(ctx)
docs/examples/main_demo.py:16
Functionstartup
(ctx)
docs/examples/retry.py:16
Functionstartup
(ctx)
docs/examples/sync_job.py:14
Functionsync_task
(t)
docs/examples/sync_job.py:6
Functiontest
(ctx)
tests/test_worker.py:1006
Functiontest_abort_deferred_job_before
(arq_redis: ArqRedis, worker, caplog, loop)
tests/test_worker.py:916
Functiontest_abort_job
(arq_redis: ArqRedis, worker, caplog, loop)
tests/test_worker.py:857
Functiontest_abort_job_before
(arq_redis: ArqRedis, worker, caplog, loop)
tests/test_worker.py:890
Functiontest_abort_job_which_is_not_in_queue
(arq_redis: ArqRedis)
tests/test_worker.py:885
Functiontest_args_to_string
()
tests/test_utils.py:90
Functiontest_calculate_next_is_called_with_aware_datetime
(worker, mocker: MockerFixture)
tests/test_cron.py:170
Functiontest_cancel_error
(arq_redis: ArqRedis, worker, caplog)
tests/test_worker.py:323
Functiontest_cant_pickle_arg
(arq_redis: ArqRedis)
tests/test_main.py:220
Functiontest_cant_pickle_result
(arq_redis: ArqRedis, worker)
tests/test_main.py:229
Functiontest_cant_unpickle_at_all
()
tests/test_jobs.py:127
Functiontest_check
(loop)
tests/test_cli.py:38
Functiontest_cron_cancelled
(worker, mocker)
tests/test_cron.py:216
Functiontest_custom_log_dict
(mocker, loop, cli_argument, log_dict_to_use)
tests/test_cli.py:72
Functiontest_custom_queue_read_limit
(arq_redis: ArqRedis, worker)
tests/test_worker.py:676
Functiontest_custom_serializer
()
tests/test_jobs.py:138
Functiontest_custom_serializers
(arq_redis_msgpack: ArqRedis, worker)
tests/test_worker.py:701
Functiontest_custom_try
(arq_redis: ArqRedis, worker)
tests/test_main.py:191
Functiontest_custom_try2
(arq_redis: ArqRedis, worker)
tests/test_main.py:207
Functiontest_default_job_expiry
Test that jobs have a default expiry time based on the expires_extra_ms property in ArqRedis.
tests/test_worker.py:400
Functiontest_defer_by
(arq_redis: ArqRedis)
tests/test_main.py:159
Functiontest_defer_until
(arq_redis: ArqRedis)
tests/test_main.py:152
Functiontest_deserialization_error
(arq_redis: ArqRedis, worker)
tests/test_worker.py:723
Functiontest_deserialize_info
(arq_redis: ArqRedis)
tests/test_jobs.py:197
Functiontest_deserialize_job_raw
()
tests/test_jobs.py:206
Functiontest_deserialize_result
(arq_redis: ArqRedis, worker)
tests/test_jobs.py:180
Functiontest_enqueue_job
(arq_redis: ArqRedis, worker)
tests/test_main.py:21
Functiontest_enqueue_job_alt_queue
(arq_redis: ArqRedis, worker)
tests/test_jobs.py:113
Functiontest_enqueue_job_custom_queue
(arq_redis: ArqRedis, test_redis_settings: RedisSettings, worker)
tests/test_main.py:96
Functiontest_enqueue_job_different_queues
(arq_redis: ArqRedis, worker)
tests/test_main.py:32
Functiontest_enqueue_job_nested
(arq_redis: ArqRedis, worker)
tests/test_main.py:49
Functiontest_enqueue_job_nested_custom_serializer
( arq_redis_msgpack: ArqRedis, test_redis_settings: RedisSettings, worker )
tests/test_main.py:68
Functiontest_enqueue_job_nondefault_queue
Test initializing arq_redis with a queue name, and the worker using it.
tests/test_jobs.py:117
Functiontest_enqueue_multiple
(arq_redis: ArqRedis, caplog)
tests/test_main.py:286
Functiontest_error_success
(arq_redis: ArqRedis, worker)
tests/test_worker.py:603
Functiontest_exc_extra
(arq_redis: ArqRedis, worker, caplog)
tests/test_worker.py:473
Functiontest_get_job_result
(arq_redis: ArqRedis)
tests/test_jobs.py:212
Functiontest_get_jobs
(arq_redis: ArqRedis)
tests/test_main.py:244
Functiontest_handle_no_sig
(caplog)
tests/test_worker.py:96
Functiontest_handle_sig
(caplog, arq_redis: ArqRedis)
tests/test_worker.py:77
Functiontest_health_check_direct
(test_redis_settings: RedisSettings, loop)
tests/test_worker.py:53
Functiontest_health_check_fails
(test_redis_settings: RedisSettings)
tests/test_worker.py:61
Functiontest_health_check_pass
(test_redis_settings: RedisSettings, arq_redis: ArqRedis)
tests/test_worker.py:65
← previousnext →101–200 of 305, ranked by callers