Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/marvin/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,10 @@ def validate_database_path(self) -> Self:
if self.database_path is None:
self.__dict__["database_path"] = self.home_path / "marvin.db"

# Handle in-memory database
if str(self.database_path) == ":memory:":
return self

# Convert to Path if string
self.__dict__["database_path"] = Path(self.database_path)

Expand Down
Loading