Include resources from store when deploying (#102)
[osm/N2VC.git] / juju / client / client.py
1 '''Replace auto-generated classes with our own, where necessary.
2
3 '''
4
5 from . import _client
6 from . import overrides
7
8
9 for o in overrides.__all__:
10 setattr(_client, o, getattr(overrides, o))
11
12 for o in overrides.__patches__:
13 c_type = getattr(_client, o)
14 o_type = getattr(overrides, o)
15 for a in dir(o_type):
16 if not a.startswith('_'):
17 setattr(c_type, a, getattr(o_type, a))
18
19 from ._client import * # noqa