Skip to content

Commit

Permalink
get_member_collection types
Browse files Browse the repository at this point in the history
  • Loading branch information
yannickhilber committed Mar 16, 2023
1 parent f4c656e commit 0af7cc3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion bitwarden_access_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,13 +78,15 @@
TypeVar,
)


class MemberType(Enum):
OWNER = 0
ADMIN = 1
USER = 2
MANAGER = 3
CUSTOM = 4


class Member(NamedTuple):
id: str
name: str
Expand Down Expand Up @@ -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"]
Expand Down

0 comments on commit 0af7cc3

Please sign in to comment.