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

rakanalh opened this Issue Nov 20, 2017 · 2 comments


2 participants

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


This comment has been minimized.


Bogdanp commented Nov 21, 2017

Thanks! This is fixed in 0.14.


This comment has been minimized.


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