@@ -389,7 +389,7 @@ def todos(uuid=None, **kwargs):
389
389
"""
390
390
Read to-dos into dicts.
391
391
392
- See `api .tasks` for details.
392
+ See `things .tasks` for details.
393
393
"""
394
394
return tasks (uuid = uuid , type = "to-do" , ** kwargs )
395
395
@@ -398,7 +398,7 @@ def projects(uuid=None, **kwargs):
398
398
"""
399
399
Read projects into dicts.
400
400
401
- See `api .tasks` for details.
401
+ See `things .tasks` for details.
402
402
"""
403
403
return tasks (uuid = uuid , type = "project" , ** kwargs )
404
404
@@ -410,7 +410,7 @@ def inbox(**kwargs):
410
410
"""
411
411
Read inbox into dicts.
412
412
413
- See `api .tasks` for details.
413
+ See `things .tasks` for details.
414
414
"""
415
415
return tasks (start = "Inbox" , ** kwargs )
416
416
@@ -450,27 +450,27 @@ def upcoming(**kwargs):
450
450
451
451
def anytime (** kwargs ):
452
452
"""
453
- Read anytime to-dos into dicts.
453
+ Read anytime tasks into dicts.
454
454
455
- See `api .tasks` for details.
455
+ See `things .tasks` for details.
456
456
"""
457
457
return tasks (start = "Anytime" , ** kwargs )
458
458
459
459
460
460
def someday (** kwargs ):
461
461
"""
462
- Read someday to-dos into dicts.
462
+ Read someday tasks into dicts.
463
463
464
- See `api .tasks` for details.
464
+ See `things .tasks` for details.
465
465
"""
466
466
return tasks (start_date = False , start = "Someday" , ** kwargs )
467
467
468
468
469
469
def logbook (** kwargs ):
470
470
"""
471
- Read logbook to-dos into dicts.
471
+ Read logbook tasks into dicts.
472
472
473
- See `api .tasks` for details.
473
+ See `things .tasks` for details.
474
474
"""
475
475
result = [* canceled (** kwargs ), * completed (** kwargs )]
476
476
result .sort (key = lambda task : task ["stop_date" ], reverse = True )
@@ -482,9 +482,9 @@ def logbook(**kwargs):
482
482
483
483
def canceled (** kwargs ):
484
484
"""
485
- Read cancelled to-dos into dicts.
485
+ Read cancelled tasks into dicts.
486
486
487
- See `api .tasks` for details.
487
+ See `things .tasks` for details.
488
488
"""
489
489
return tasks (status = "canceled" , ** kwargs )
490
490
@@ -503,9 +503,9 @@ def completed(**kwargs):
503
503
504
504
def deadlines (** kwargs ):
505
505
"""
506
- Read to-dos with due dates into dicts.
506
+ Read tasks with deadlines into dicts.
507
507
508
- See `api .tasks` for details.
508
+ See `things .tasks` for details.
509
509
"""
510
510
result = tasks (deadline = True , ** kwargs )
511
511
result .sort (key = lambda task : task ["deadline" ])
0 commit comments