sci-bots / base-node-rpc

Base classes for Arduino RPC node/device
0 stars 2 forks source link

Overridden method for `properties` key causes exception: `str not callable` #6

Closed cfobel closed 7 years ago

cfobel commented 7 years ago

Problem

Currently, each of the following attributes MUST exist as a method on the proxy class that returns a np.array or not at all:

The properties attribute is defined as a Python property that calls each of the methods (if they exist as attributes) and combines the results into a pandas.Series.

This causes an exception for classes that inherit from ProxyBase and implement a Python property with the same name as any of the methods above.