Skip to content

Commit c1f8af0

Browse files
committed
Add docs to filters
1 parent 78e052b commit c1f8af0

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

labelbox/schema/export_filters.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,18 @@
1111

1212
class ProjectExportFilters(TypedDict):
1313
label_created_at: Optional[Tuple[str, str]]
14+
""" Date range for labels created at
15+
Formatted "YYYY-MM-DD" or "YYYY-MM-DD hh:mm:ss"
16+
Examples:
17+
>>> ["2000-01-01 00:00:00", "2050-01-01 00:00:00"]
18+
>>> [None, "2050-01-01 00:00:00"]
19+
>>> ["2000-01-01 00:00:00", None]
20+
"""
1421
last_activity_at: Optional[Tuple[str, str]]
22+
""" Date range for last activity at
23+
Formatted "YYYY-MM-DD" or "YYYY-MM-DD hh:mm:ss"
24+
Examples:
25+
>>> ["2000-01-01 00:00:00", "2050-01-01 00:00:00"]
26+
>>> [None, "2050-01-01 00:00:00"]
27+
>>> ["2000-01-01 00:00:00", None]
28+
"""

0 commit comments

Comments
 (0)