<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/rq.git/tests/test_decorator.py, branch python3.8</title>
<subtitle>github.com: nvie/rq.git
</subtitle>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/rq.git/'/>
<entry>
<title>Multi Dependency Support [Internal API Changes] (#1147)</title>
<updated>2019-10-22T01:34:47+00:00</updated>
<author>
<name>Thomas Matecki</name>
<email>thomas.matecki@gmail.com</email>
</author>
<published>2019-10-22T01:34:47+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/rq.git/commit/?id=75644ba9486ef3d8b17e8b9cf4dac91fab552375'/>
<id>75644ba9486ef3d8b17e8b9cf4dac91fab552375</id>
<content type='text'>
* Convert `_dependency_id` to `_dependency_ids`

Change `Job`s tracking from a single id of it's dependencies from a single _id_ to a list of _id_s. This change should be private to `Job` - especially leaving `Job#to_dict` and `Job#restore`s treatment of a single 'dependency_id' intact.

This change modifies existing tests.

* Remove reliance upon dependency property in tests

... use dependency.id not  `_dependency_id`

* Re-add assertions for Falsey Values

* Add _dependency_id property

For backwards compatibility with other libs such as django-rq and rq-scheduler
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Convert `_dependency_id` to `_dependency_ids`

Change `Job`s tracking from a single id of it's dependencies from a single _id_ to a list of _id_s. This change should be private to `Job` - especially leaving `Job#to_dict` and `Job#restore`s treatment of a single 'dependency_id' intact.

This change modifies existing tests.

* Remove reliance upon dependency property in tests

... use dependency.id not  `_dependency_id`

* Re-add assertions for Falsey Values

* Add _dependency_id property

For backwards compatibility with other libs such as django-rq and rq-scheduler
</pre>
</div>
</content>
</entry>
<entry>
<title>Add failure_ttl on job decorator (#1130)</title>
<updated>2019-09-08T11:04:43+00:00</updated>
<author>
<name>Bartłomiej Biernacki</name>
<email>pax0r@users.noreply.github.com</email>
</author>
<published>2019-09-08T11:04:43+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/rq.git/commit/?id=51efc203713958e1f0a0ae774c9e752a1998a7d6'/>
<id>51efc203713958e1f0a0ae774c9e752a1998a7d6</id>
<content type='text'>
Without it you cannot specify custom timeout for failed jobs created using decorator</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Without it you cannot specify custom timeout for failed jobs created using decorator</pre>
</div>
</content>
</entry>
<entry>
<title>modify zadd calls for redis-py 3.0 (#1016)</title>
<updated>2018-12-03T00:28:36+00:00</updated>
<author>
<name>Darshan Rai</name>
<email>darshanjrai@gmail.com</email>
</author>
<published>2018-12-03T00:28:36+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/rq.git/commit/?id=ada2ad03ca959e993a86ce7259d6d96ef91c8bfa'/>
<id>ada2ad03ca959e993a86ce7259d6d96ef91c8bfa</id>
<content type='text'>
* modify zadd calls for redis-py 3.0

redis-py 3.0 changes the zadd interface that accepts a single
mapping argument that is expected to be a dict.
https://github.com/andymccurdy/redis-py#mset-msetnx-and-zadd

* change FailedQueue.push_job_id to always push a str

redis-py 3.0 does not attempt to cast values to str and is left
to the user.

* remove Redis connection patching

Since in redis-py 3.0, Redis == StrictRedis class, we no longer
need to patch _zadd and other methods.
Ref: https://github.com/rq/rq/pull/1016#issuecomment-441010847
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* modify zadd calls for redis-py 3.0

redis-py 3.0 changes the zadd interface that accepts a single
mapping argument that is expected to be a dict.
https://github.com/andymccurdy/redis-py#mset-msetnx-and-zadd

* change FailedQueue.push_job_id to always push a str

redis-py 3.0 does not attempt to cast values to str and is left
to the user.

* remove Redis connection patching

Since in redis-py 3.0, Redis == StrictRedis class, we no longer
need to patch _zadd and other methods.
Ref: https://github.com/rq/rq/pull/1016#issuecomment-441010847
</pre>
</div>
</content>
</entry>
<entry>
<title>Add meta to decorator, move depends_on + at_front to decorator (#892)</title>
<updated>2017-12-06T14:34:26+00:00</updated>
<author>
<name>John Lucas</name>
<email>john.lucas845@gmail.com</email>
</author>
<published>2017-12-06T14:34:26+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/rq.git/commit/?id=34c403ec8d0794b62cc7ac72eb54522c9f68db90'/>
<id>34c403ec8d0794b62cc7ac72eb54522c9f68db90</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Allow passing backend classes (job, queue, worker, connection) from CLI and other APIs</title>
<updated>2017-01-25T08:43:36+00:00</updated>
<author>
<name>Jannis Leidel</name>
<email>jannis@leidel.info</email>
</author>
<published>2017-01-23T15:37:47+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/rq.git/commit/?id=c01966243086336b2d934b7ca65401db8d317107'/>
<id>c01966243086336b2d934b7ca65401db8d317107</id>
<content type='text'>
This includes:

- a partial refactor of the CLI to organize the shared options
- extends the tests in areas where passing custom backend classes makes sense
- allow setting the core CLI options as env vars
- minor cosmetic changes here and there
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This includes:

- a partial refactor of the CLI to organize the shared options
- extends the tests in areas where passing custom backend classes makes sense
- allow setting the core CLI options as env vars
- minor cosmetic changes here and there
</pre>
</div>
</content>
</entry>
<entry>
<title>Add ttl argument to decorator</title>
<updated>2016-02-16T14:15:49+00:00</updated>
<author>
<name>Javi Imbernon</name>
<email>javi@javimb.com</email>
</author>
<published>2016-02-16T14:15:49+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/rq.git/commit/?id=1d6c2b98b701366a017830ba8e7746618ec80301'/>
<id>1d6c2b98b701366a017830ba8e7746618ec80301</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix broken import.</title>
<updated>2014-05-06T13:56:09+00:00</updated>
<author>
<name>Vincent Driessen</name>
<email>vincent@3rdcloud.com</email>
</author>
<published>2014-05-06T13:56:09+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/rq.git/commit/?id=da70ba580b8507eb812759e80f285462ec5f37c6'/>
<id>da70ba580b8507eb812759e80f285462ec5f37c6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge remote-tracking branch 'origin/master' into SanyerMyasoedov-master</title>
<updated>2014-05-06T13:52:35+00:00</updated>
<author>
<name>Vincent Driessen</name>
<email>vincent@3rdcloud.com</email>
</author>
<published>2014-05-06T13:52:35+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/rq.git/commit/?id=c5939479b5cb6be34c8dbc01103e099d02629ad4'/>
<id>c5939479b5cb6be34c8dbc01103e099d02629ad4</id>
<content type='text'>
Conflicts:
	rq/decorators.py
	tests/__init__.py
	tests/test_decorator.py
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Conflicts:
	rq/decorators.py
	tests/__init__.py
	tests/test_decorator.py
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix PEP8 complaints.</title>
<updated>2014-05-05T08:50:02+00:00</updated>
<author>
<name>Vincent Driessen</name>
<email>vincent@3rdcloud.com</email>
</author>
<published>2014-05-05T08:49:43+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/rq.git/commit/?id=ab9e6b852e527482234aafcba857d7d85f90ca01'/>
<id>ab9e6b852e527482234aafcba857d7d85f90ca01</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Enable the most modern Python syntax.</title>
<updated>2014-05-05T08:50:02+00:00</updated>
<author>
<name>Vincent Driessen</name>
<email>vincent@3rdcloud.com</email>
</author>
<published>2014-05-05T08:49:29+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/rq.git/commit/?id=38ec259b6e436d7868af8e99d55305340d5375ce'/>
<id>38ec259b6e436d7868af8e99d55305340d5375ce</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
