Working async AllWatcher example
[osm/N2VC.git] / juju / client / overrides.py
1 from .facade import Type
2
3 __all__ = [
4 'Delta',
5 ]
6
7
8 class Delta(Type):
9 _toSchema = {'deltas': 'Deltas'}
10 _toPy = {'Deltas': 'deltas'}
11
12 def __init__(self, deltas=None):
13 '''
14 deltas : [str, str, object]
15 '''
16 self.deltas = deltas
17
18 @classmethod
19 def from_json(cls, data):
20 return cls(deltas=data)