State object is empty or missing most of the attributes when using commands.data()
#383
Unanswered
akim-ruslanov
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I have been trying to create overlay package using Python. I have found some example package in Mu which uses
glyph.drawNameValuePairs
andcommands.data
. So I tried to translate it into Python usingruntime.eval
. However, I got stuck at an issue wherecommands.data
was returning a state object that was missing attributes likeconfig
. I then tried to test it further by editing already installedpyhello.py
and printing outcommands.data()
there. I found that it was also missing most of the attributes. I am not quite sure if there is something wrong with my implementation, or there is a difference between State object in Python and MuBeta Was this translation helpful? Give feedback.
All reactions