Skip to content

Commit 50fbf77

Browse files
author
Val Brodsky
committed
Removed unused after param
1 parent 718f2c1 commit 50fbf77

File tree

3 files changed

+3
-12
lines changed

3 files changed

+3
-12
lines changed
Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
Labeling Service
1+
Labeling Service Dashboard
22
===============================================================================================
33

4-
.. automodule:: labelbox.schema.search_filters
5-
:members:
4+
.. automodule:: labelbox.schema.labeling_service_dashboard
65
:show-inheritance:

libs/labelbox/src/labelbox/client.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2410,7 +2410,6 @@ def upsert_label_feedback(self, label_id: str, feedback: str,
24102410

24112411
def get_labeling_service_dashboards(
24122412
self,
2413-
after: Optional[str] = None,
24142413
search_query: Optional[List[SearchFilter]] = None,
24152414
) -> PaginatedCollection:
24162415
"""
@@ -2419,8 +2418,6 @@ def get_labeling_service_dashboards(
24192418
Optional parameters:
24202419
search_query: A list of search filters representing the search
24212420
2422-
after: The cursor to use for pagination.
2423-
24242421
NOTE:
24252422
- Retrieves all projects for the organization or as filtered by the search query.
24262423
- Sorted by project created date in ascending order.
@@ -2444,6 +2441,4 @@ def get_labeling_service_dashboards(
24442441
24452442
See libs/labelbox/src/labelbox/schema/search_filters.py and libs/labelbox/tests/unit/test_unit_search_filters.py for more examples.
24462443
"""
2447-
return LabelingServiceDashboard.get_all(self,
2448-
after,
2449-
search_query=search_query)
2444+
return LabelingServiceDashboard.get_all(self, search_query=search_query)

libs/labelbox/src/labelbox/schema/labeling_service_dashboard.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,6 @@ def get(cls, client, project_id: str) -> 'LabelingServiceDashboard':
9595
def get_all(
9696
cls,
9797
client,
98-
after: Optional[str] = None,
9998
search_query: Optional[List[SearchFilter]] = None,
10099
) -> PaginatedCollection:
101100

@@ -126,8 +125,6 @@ def get_all(
126125
)
127126

128127
params: Dict[str, Union[str, int]] = {}
129-
if after:
130-
params = {"from": after}
131128

132129
def convert_to_labeling_service_dashboard(client, data):
133130
data['client'] = client

0 commit comments

Comments
 (0)