diff --git a/turtle/equipment/turtle_device.py b/turtle/equipment/turtle_device.py index 39b922f..0f8c583 100644 --- a/turtle/equipment/turtle_device.py +++ b/turtle/equipment/turtle_device.py @@ -41,7 +41,10 @@ class TurtleDevice(SynchronyDevice): descriptors = dict(actions=dict(), traits=dict()) for k, v in self.turtle.__dict__.items(): if not k.startswith("_"): - descriptors["traits"][k] = v + descriptors["traits"][k] = TraitDescriptor(k, + inspect.getdoc(v), + readable=True, + writable=False) for m_name, member in inspect.getmembers(Turtle): if m_name.startswith("_"): continue