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

Remove '.value' behaviour #11

Open
ajoaoff opened this issue Jun 7, 2021 · 0 comments
Open

Remove '.value' behaviour #11

ajoaoff opened this issue Jun 7, 2021 · 0 comments

Comments

@ajoaoff
Copy link

ajoaoff commented Jun 7, 2021

Original issue opened by @diraol at kytos#237.

We are going to simplify our library for the users by assuming that the attributes of our classes instances will always receive python basic types (int, string or list, when appropriate) or other complex objects (such as a Header object as message attributes).

Questions:

  • What to do when dealing with our "Enums" os "Bitmasks"? Consider them "complex structures (objects)"?
  • What to do with basic types such as "IPAddress" and "HWAddress"? We will accept "only" strings, or should the user add a HWAddress instance to that attribute?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants