Skip to content

Commit f87c797

Browse files
committed
feat: Add user_id attribute
1 parent 58dc55e commit f87c797

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

time_tracker_api/time_entries/time_entries_namespace.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,13 +136,22 @@
136136
)
137137

138138
# custom attributes filter
139+
attributes_filter.add_argument(
140+
'user_id',
141+
required=False,
142+
store_missing=False,
143+
help="(Filter) User to filter by",
144+
location='args',
145+
)
146+
139147
attributes_filter.add_argument(
140148
'month',
141149
required=False,
142150
store_missing=False,
143151
help="(Filter) Month to filter by",
144152
location='args',
145153
)
154+
146155
attributes_filter.add_argument(
147156
'year',
148157
required=False,
@@ -158,6 +167,7 @@
158167
help="(Filter) Start to filter by",
159168
location='args',
160169
)
170+
161171
attributes_filter.add_argument(
162172
'end_date',
163173
required=False,

0 commit comments

Comments
 (0)