You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Has there been any updates to python SDK ? I only see code from years ago. I would like to use Misty for my project but I know python well but the current SDK is very limited.
To my knowledge, there haven't been any updates to the SDK.
Also, at a cursory glance (I'm on a phone rn), the issue is coming from a type hint. Worst case scenario, OP can always just remove the list[Argument] hint if they can't figure out the problem.
on line 215 of RobotGenerator.py. This requires importing from typing import List. Then, I got a key error for object. I added "Object": "object" to the type_switch on line 78. I'm not sure if this is all the ideal solution (or if it is correct since I don't get any sort of outputs), but it does quiet any errors you get when using the RobotGenerator.
Activity
rob-harrington commentedon Apr 17, 2023
To my knowledge, there haven't been any updates to the SDK.
Also, at a cursory glance (I'm on a phone rn), the issue is coming from a type hint. Worst case scenario, OP can always just remove the list[Argument] hint if they can't figure out the problem.
HayleyO commentedon Sep 19, 2023
I had this issue too. I changed the list typing to
def parse_arguments_into_kwargs(self, arguments: List[Argument]):on line 215 of RobotGenerator.py. This requires importing
from typing import List. Then, I got a key error for object. I added"Object": "object"to the type_switch on line 78. I'm not sure if this is all the ideal solution (or if it is correct since I don't get any sort of outputs), but it does quiet any errors you get when using the RobotGenerator.