Add connection backreference to proxy instances
Proxy instances need to be able to call methods on the main connection. Add a backreference. Change-Id: If54c4c6f1f43dc5503d59e87a79b08bad561bb54
This commit is contained in:
parent
34ea72ce5b
commit
b9768bdbce
|
@ -94,6 +94,7 @@ class ServiceDescription(object):
|
|||
task_manager=instance.task_manager,
|
||||
allow_version_hack=True,
|
||||
)
|
||||
instance._proxies[self.service_type]._connection = instance
|
||||
return instance._proxies[self.service_type]
|
||||
|
||||
def __set__(self, instance, value):
|
||||
|
|
Loading…
Reference in New Issue