MCPcopy Create free account
hub / github.com/alphagov/notifications-api / BindForcingSession

Class BindForcingSession

app/session.py:4–10  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2
3
4class 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]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected