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

Class attributes are not accessible when using GenericActor #15

Closed
rakanalh opened this issue Nov 20, 2017 · 2 comments
Closed

Class attributes are not accessible when using GenericActor #15

rakanalh opened this issue Nov 20, 2017 · 2 comments
Assignees
Labels

Comments

@rakanalh
Copy link
Contributor

@rakanalh rakanalh commented Nov 20, 2017

If you define:

class DoSomething(GenericActor):
    MODE_ACTION_1 = 0
    MODE_ACTION_2 = 1

And then try to use one of these attributes, an error will be raised:

AttributeError: 'Actor' object has no attribute 'ACTION_1'
@Bogdanp Bogdanp self-assigned this Nov 20, 2017
@Bogdanp Bogdanp closed this in 4ae2902 Nov 21, 2017
@Bogdanp
Copy link
Owner

@Bogdanp Bogdanp commented Nov 21, 2017

Thanks! This is fixed in 0.14.

@rakanalh
Copy link
Contributor Author

@rakanalh rakanalh commented Nov 21, 2017

Cool, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants