| Conditions | 2 |
| Total Lines | 7 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | import attr |
||
| 18 | name_abbreviation = attr.ib(init=True) |
||
| 19 | name = attr.ib(init=True, default=attr.Factory(lambda self: self.name_abbreviation, takes_self=True)) |
||
| 20 | |||
| 21 | def __call__(self, *args, **kwargs): |
||
| 22 | engine = args[0] |
||
| 23 | engine.retriever = EngineTabularRetriever.subclasses[self.name_abbreviation] |
||
| 24 | engine.iterator = EngineTabularIterator.subclasses[self.name_abbreviation] |
||
| 25 | engine.mutator = EngineTabularMutator.subclasses[self.name_abbreviation] |
||
| 30 |