Skip to content

Commit a1765b3

Browse files
authored
Fix get_roles return type: Dict[str, Role] (instead of List[Role]) (#1904)
1 parent 910a9f0 commit a1765b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libs/labelbox/src/labelbox/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -860,7 +860,7 @@ def _create_project(self, input: _CoreProjectInput) -> Project:
860860
extra_params = {k: v for k, v in extra_params.items() if v is not None}
861861
return self._create(Entity.Project, params, extra_params)
862862

863-
def get_roles(self) -> List[Role]:
863+
def get_roles(self) -> Dict[str, Role]:
864864
"""
865865
Returns:
866866
Roles: Provides information on available roles within an organization.

0 commit comments

Comments
 (0)