GothenburgBitFactory / tasklib

A Python library for interacting with taskwarrior databases.
http://tasklib.readthedocs.org/en/latest/
BSD 3-Clause "New" or "Revised" License
147 stars 28 forks source link

Filtering by depending on particular task #92

Open mooskagh opened 3 years ago

mooskagh commented 3 years ago

How do I filter by tasks depending on the particular task?

I attempted those but they don't seem to work (both seem to return all tasks which depend on anything, not on this particual task)

> t = tw.tasks.all()[0]
> tw.tasks.filter(depends_contains=t)
> tw.tasks.filter(depends=t)
mooskagh commented 3 years ago

Hmmm also how do I select all not-deleted tasks?..

I'd expect that to work but it doesn't..

tw.tasks.filter(deleted=False)