Total Complexity | 3 |
Total Lines | 8 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | class ProviderManagerPlugin: |
||
12 | class ProviderManagerApplication: |
||
13 | def __init__(self, app): |
||
14 | self._providers = {} |
||
15 | self.app = app |
||
16 | |||
17 | def register(self, name, instance, description, plugin): |
||
18 | if name not in self._providers.keys(): |
||
19 | self._providers[name] = Provider(name, instance, description, plugin) |
||
20 | |||
29 |