mirror of
https://github.com/tiqi-group/pydase.git
synced 2026-02-14 06:18:41 +01:00
fix: removes inheritance warning for functions
This commit is contained in:
@@ -70,7 +70,7 @@ class DataService(rpyc.Service, AbstractDataService):
|
||||
|
||||
# every class defined by the user should inherit from DataService if it is
|
||||
# assigned to a public attribute
|
||||
if not __name.startswith("_"):
|
||||
if not __name.startswith("_") and not inspect.isfunction(__value):
|
||||
self.__warn_if_not_observable(__value)
|
||||
|
||||
# Set the attribute
|
||||
|
||||
Reference in New Issue
Block a user