diff --git a/api/python/quilt3/admin/__init__.py b/api/python/quilt3/admin/__init__.py index 29b03719588..defb245dc08 100644 --- a/api/python/quilt3/admin/__init__.py +++ b/api/python/quilt3/admin/__init__.py @@ -118,7 +118,7 @@ def delete_user(name: str) -> None: _handle_errors(result.delete) -def get_roles() -> List[Union[_graphql_client.GetRolesRolesUnmanagedRole, _graphql_client.GetRolesRolesManagedRole]]: +def get_roles() -> List[Role]: """ Get a list of all roles in the registry. """ diff --git a/docs/api-reference/Admin.md b/docs/api-reference/Admin.md index accd435459e..446ec6e3450 100644 --- a/docs/api-reference/Admin.md +++ b/docs/api-reference/Admin.md @@ -48,7 +48,7 @@ __Arguments__ * __name__: Username of user to delete. -## get\_roles() -> List[Union[quilt3.admin.\_graphql\_client.get\_roles.GetRolesRolesUnmanagedRole, quilt3.admin.\_graphql\_client.get\_roles.GetRolesRolesManagedRole]] {#get\_roles} +## get\_roles() -> List[Union[quilt3.admin.ManagedRole, quilt3.admin.UnmanagedRole]] {#get\_roles} Get a list of all roles in the registry.