Skip to content

Commit 09a295b

Browse files
committed
Fix get_roles return type: Dict[str, Role] (instead of List[Role])
1 parent cf25f3a commit 09a295b

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
@@ -856,7 +856,7 @@ def _create_project(self, input: _CoreProjectInput) -> Project:
856856
extra_params = {k: v for k, v in extra_params.items() if v is not None}
857857
return self._create(Entity.Project, params, extra_params)
858858

859-
def get_roles(self) -> List[Role]:
859+
def get_roles(self) -> Dict[str, Role]:
860860
"""
861861
Returns:
862862
Roles: Provides information on available roles within an organization.

0 commit comments

Comments
 (0)