| 2 | |
| 3 | |
| 4 | class BindForcingSession(Session): |
| 5 | def __init__(self, *args, bind_key=None, **kwargs): |
| 6 | self.bind_key = bind_key |
| 7 | super().__init__(*args, **kwargs) |
| 8 | |
| 9 | def get_bind(self, *args, bind=None, **kwargs): |
| 10 | return self._db.engines[self.bind_key] |
nothing calls this directly
no outgoing calls
no test coverage detected