tiqi-group / pydase

A Python library for creating remote control interfaces of Python objects.
https://pydase.readthedocs.io
MIT License
1 stars 1 forks source link

fix: controlling tasks of instances derived from same class #161

Closed mosmuell closed 1 week ago

mosmuell commented 1 week ago

When defining a task on a DataService class, formerly a Task object was created which replaced the decorated method as a class attribute. This caused errors when using multiple instances of that class, as each instance was referring to the same Task. This descriptor class now handles the tasks per instance of the service class.