Skip to content

__repr__ for Members (possibly Groups)  #22

@zthart

Description

@zthart

image

When working with groups or a collection of user objects, it would be helpful to be able to check which users you've actually got on hand just by yeeting them to stdout without much effort. A simple __repr__() that provides a user's uid or something else identifiable would be a nice QOL update. Something like <CSHMember [zach - "Zach Hart"]> might be nice.

Not sure what you'd put in the groups, maybe the group name and count of members in it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions