How to call specific attributes of another class #1551
Answered
by
rht
BENFREDJRima-34
asked this question in
Q&A
Replies: 1 comment 3 replies
-
|
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
rht
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I have two classes state and MyAgent
I need to call state attributes in MyAgent class like this
AttributeError: 'MyAgent' object has no attribute 'state'
Beta Was this translation helpful? Give feedback.
All reactions