Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

assert keys is tuple object in BitHandler init method #91

Open
ruandao opened this issue Jul 24, 2019 · 0 comments
Open

assert keys is tuple object in BitHandler init method #91

ruandao opened this issue Jul 24, 2019 · 0 comments

Comments

@ruandao
Copy link

ruandao commented Jul 24, 2019

# TODO: change to bitarray?

may be need a method to convert key to value, i try many time to find out how to convert

        result = BitHandler(0, tuple(TeamPerm.permission))
        for label in data:
            setattr(result, label, True)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant