diff --git a/src/flask_rq2/app.py b/src/flask_rq2/app.py index 332b425..149049b 100644 --- a/src/flask_rq2/app.py +++ b/src/flask_rq2/app.py @@ -372,8 +372,8 @@ def get_worker(self, *queues): default_worker = rq.get_worker('default') default_low_worker = rq.get_worker('default', 'low') - :param \*queues: Names of queues the worker should act on, falls back - to the configured queues. + :param \\*queues: Names of queues the worker should act on, falls back + to the configured queues. """ if not queues: queues = self.queues diff --git a/src/flask_rq2/functions.py b/src/flask_rq2/functions.py index 7802f62..36c072c 100644 --- a/src/flask_rq2/functions.py +++ b/src/flask_rq2/functions.py @@ -72,9 +72,9 @@ def add(x, y): add.queue(1, 2, timeout=30) - :param \*args: The positional arguments to pass to the queued job. + :param \\*args: The positional arguments to pass to the queued job. - :param \*\*kwargs: The keyword arguments to pass to the queued job. + :param \\*\\*kwargs: The keyword arguments to pass to the queued job. :param queue: Name of the queue to queue in, defaults to queue of of job or :attr:`~flask_rq2.RQ.default_queue`. @@ -151,9 +151,9 @@ def add(x, y): add.schedule(datetime(2016, 12, 31, 23, 59, 59), 1, 2) add.schedule(timedelta(days=14), 1, 2, repeat=1) - :param \*args: The positional arguments to pass to the queued job. + :param \\*args: The positional arguments to pass to the queued job. - :param \*\*kwargs: The keyword arguments to pass to the queued job. + :param \\*\\*kwargs: The keyword arguments to pass to the queued job. :param queue: Name of the queue to queue in, defaults to queue of of job or :attr:`~flask_rq2.RQ.default_queue`. @@ -230,9 +230,9 @@ def add(x, y): add.cron('* * * * *', 'add-some-numbers', 1, 2, timeout=10) - :param \*args: The positional arguments to pass to the queued job. + :param \\*args: The positional arguments to pass to the queued job. - :param \*\*kwargs: The keyword arguments to pass to the queued job. + :param \\*\\*kwargs: The keyword arguments to pass to the queued job. :param pattern: A Crontab pattern. :type pattern: str