diff options
author | Frederick Muriuki Muriithi | 2024-06-17 17:02:33 -0500 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2024-06-17 17:02:33 -0500 |
commit | 8f287bd7ef19ff309b6ced6a4c672d2f60229ad4 (patch) | |
tree | 7b938ad023f23e17a65f3b0aba96f415531b9cdf /gn_auth/auth/authorisation/roles | |
parent | 0306b1e7af753a2fdd3ca4e1b5c2ee378c8c4a3a (diff) | |
download | gn-auth-8f287bd7ef19ff309b6ced6a4c672d2f60229ad4.tar.gz |
Fix mypy errors
Diffstat (limited to 'gn_auth/auth/authorisation/roles')
-rw-r--r-- | gn_auth/auth/authorisation/roles/models.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gn_auth/auth/authorisation/roles/models.py b/gn_auth/auth/authorisation/roles/models.py index 03f88d7..dc1dfdc 100644 --- a/gn_auth/auth/authorisation/roles/models.py +++ b/gn_auth/auth/authorisation/roles/models.py @@ -137,7 +137,7 @@ def user_resource_roles( conn: db.DbConnection, user: User, resource: Resource -) -> tuple[Role]: +) -> tuple[Role, ...]: """Retrieve all roles assigned to a user for a particular resource.""" with db.cursor(conn) as cursor: cursor.execute( |