e.g.
a = Syncthing(api_key=1, ...)
b = Syncthing(api_key=2, ...)
Results in calls from object a (e.g. a.sys.config()) to get b's config rather than the expected a's config.
The issue is caused by the C class having a static variable C.iface which gets overridden when a new Syncthing object is created. As a result, when object a tries to make a new api call, it uses b's iface variable.
e.g. a = Syncthing(api_key=1, ...) b = Syncthing(api_key=2, ...)
Results in calls from object a (e.g. a.sys.config()) to get b's config rather than the expected a's config.
The issue is caused by the C class having a static variable C.iface which gets overridden when a new Syncthing object is created. As a result, when object a tries to make a new api call, it uses b's iface variable.