Skip to content

Commit

Permalink
Fix another type hint issue
Browse files Browse the repository at this point in the history
  • Loading branch information
AlanCoding committed May 2, 2024
1 parent 5fbfceb commit 4383a34
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ansible_base/rbac/api/views.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
from collections import OrderedDict
from typing import Type

from django.db import transaction
from django.db.models import Model
Expand All @@ -23,7 +24,7 @@
from ansible_base.rbac.validators import permissions_allowed_for_role, system_roles_enabled


def list_combine_values(data: dict[Model, list[str]]) -> list[str]:
def list_combine_values(data: dict[Type[Model], list[str]]) -> list[str]:
"Utility method to merge everything in .values() into a single list"
ret = []
for this_list in data.values():
Expand Down

0 comments on commit 4383a34

Please sign in to comment.