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

Method __init__

app/session.py:5–7  ·  view source on GitHub ↗
(self, *args, bind_key=None, **kwargs)

Source from the content-addressed store, hash-verified

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