Skip to content

Commit

Permalink
fix type annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
sir-sigurd committed Jun 14, 2024
1 parent 574de57 commit 4107668
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion api/python/quilt3/admin/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
"""
Expand Down
2 changes: 1 addition & 1 deletion docs/api-reference/Admin.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down

0 comments on commit 4107668

Please sign in to comment.