diff --git a/equipment/turtle_device.py b/equipment/turtle_device.py index 1f65264..99cc8e1 100644 --- a/equipment/turtle_device.py +++ b/equipment/turtle_device.py @@ -11,12 +11,6 @@ class TurtleDevice(SynchronyDevice): del self.turtle super().close() - # @property - # def trait_descriptors(self): - # traits = [attribute for attribute in vars(self.turtle).items() - # if (attribute[0].startswith('_') == False)] - - # return Collection[[TraitDescriptor(*tr) for tr in traits]] @property def trait_descriptors(self): @@ -26,12 +20,6 @@ class TurtleDevice(SynchronyDevice): self.traits = [TraitDescriptor(*tr) for tr in traits] return self.traits - # @property - # def action_descriptors(self): - # actions = [(attribute, getattr(t, attribute)) for attribute in dir(t) - # if (attribute.startswith('_') == False)] - - # return Collection[[TraitDescriptor(*ac) for ac in actions]] @property def action_descriptors(self):