Constructor. Args: db_path: Path to db to read or write
(self, db_path)
| 50 | """A wrapper around sqlite scrapes database that returns proto pages.""" |
| 51 | |
| 52 | def __init__(self, db_path): |
| 53 | """Constructor. |
| 54 | |
| 55 | Args: |
| 56 | db_path: Path to db to read or write |
| 57 | """ |
| 58 | self._db_path: Text = db_path |
| 59 | self._engine, self.session = create_session(self._db_path) |
| 60 | |
| 61 | def create(self): |
| 62 | Base.metadata.create_all(self._engine) |
nothing calls this directly
no test coverage detected