def __init__(self, backend, upgrade_lock):
     self._backend = backend
     self._upgrade_lock = upgrade_lock
     self._engine = backend.engine
     self._metadata = sa.MetaData()
     self._tables = tables.fetch(self._metadata)
     self._converter = _Alchemist(self._tables)
Example #2
0
 def __init__(self, backend, upgrade_lock):
     self._backend = backend
     self._upgrade_lock = upgrade_lock
     self._engine = backend.engine
     self._metadata = sa.MetaData()
     self._tables = tables.fetch(self._metadata)
     self._converter = _Alchemist(self._tables)
 def __init__(self, backend):
     self._backend = backend
     self._engine = backend.engine
     self._metadata = sa.MetaData()
     self._tables = tables.fetch(self._metadata)
     self._converter = Alchemist(self._tables)