diff --git a/bitwarden_access_manager.py b/bitwarden_access_manager.py index 6dacddb..1c34327 100644 --- a/bitwarden_access_manager.py +++ b/bitwarden_access_manager.py @@ -78,6 +78,7 @@ TypeVar, ) + class MemberType(Enum): OWNER = 0 ADMIN = 1 @@ -85,6 +86,7 @@ class MemberType(Enum): MANAGER = 3 CUSTOM = 4 + class Member(NamedTuple): id: str name: str @@ -313,7 +315,7 @@ def get_groups(self) -> Iterable[Group]: ) def get_collection_members( - self, groups: Any, org_members: Dict[str, Member] + self, groups: List[Dict[str, Any]], org_members: Dict[str, Member] ) -> Iterable[MemberCollectionAccess]: for group in groups: group_id = group["id"]