MCPcopy
hub / github.com/stitionai/devika / __init__

Method __init__

src/project.py:18–23  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

16
17class ProjectManager:
18 def __init__(self):
19 config = Config()
20 sqlite_path = config.get_sqlite_db()
21 self.project_path = config.get_projects_dir()
22 self.engine = create_engine(f"sqlite:///{sqlite_path}")
23 SQLModel.metadata.create_all(self.engine)
24
25 def new_message(self):
26 timestamp = datetime.now().strftime("%Y-%m-%d %H:%M:%S")

Callers

nothing calls this directly

Calls 3

get_sqlite_dbMethod · 0.95
get_projects_dirMethod · 0.95
ConfigClass · 0.90

Tested by

no test coverage detected