projects
/
osm
/
N2VC.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Regen schema to pick up missing APIs
[osm/N2VC.git]
/
juju
/
client
/
watcher.py
diff --git
a/juju/client/watcher.py
b/juju/client/watcher.py
index
346627c
..
64099c8
100644
(file)
--- a/
juju/client/watcher.py
+++ b/
juju/client/watcher.py
@@
-1,15
+1,15
@@
-from .client import AllWatcher as BaseAllWatcher
-from .client import Client
+from .client import AllWatcher
Facade
as BaseAllWatcher
+from .client import Client
Facade
class AllWatcher(BaseAllWatcher):
async def rpc(self, msg):
if not hasattr(self, 'Id'):
class AllWatcher(BaseAllWatcher):
async def rpc(self, msg):
if not hasattr(self, 'Id'):
- client = Client()
+ client = Client
Facade
()
client.connect(self.connection)
result = await client.WatchAll()
client.connect(self.connection)
result = await client.WatchAll()
- self.Id = result.
allwatcher
id
+ self.Id = result.
watcher_
id
msg['Id'] = self.Id
return await super(AllWatcher, self).rpc(msg)
msg['Id'] = self.Id
return await super(AllWatcher, self).rpc(msg)