| Conditions | 1 |
| Total Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | """Common functionality for backends.""" |
||
| 15 | def __init__(self, backend_id, config): |
||
| 16 | """Initialize backend with a specific configuration. The |
||
| 17 | configuration is a dict. Keys and values depend on the specific |
||
| 18 | backend type.""" |
||
| 19 | self.backend_id = backend_id |
||
| 20 | self.config = config |
||
| 21 | self._datadir = None |
||
| 22 | |||
| 44 |