MCPcopy Create free account
hub / github.com/google-research/language / __init__

Method __init__

language/serene/scrape_db.py:52–59  ·  view source on GitHub ↗

Constructor. Args: db_path: Path to db to read or write

(self, db_path)

Source from the content-addressed store, hash-verified

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)

Callers

nothing calls this directly

Calls 1

create_sessionFunction · 0.70

Tested by

no test coverage detected