From 6f08e2b274b67001694123b5bb977401df0810c6 Mon Sep 17 00:00:00 2001 From: Mathieu Virbel Date: Tue, 11 Mar 2025 16:04:13 -0600 Subject: [PATCH] fix(mc): fix runtime issue when starting mc --- mcontainer/cli.py | 1 + mcontainer/models.py | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/mcontainer/cli.py b/mcontainer/cli.py index 5dd344a..4320d8e 100644 --- a/mcontainer/cli.py +++ b/mcontainer/cli.py @@ -32,6 +32,7 @@ def main(ctx: typer.Context) -> None: driver=None, project=None, env=[], + volume=[], name=None, no_connect=False, no_mount=False, diff --git a/mcontainer/models.py b/mcontainer/models.py index fe02360..cd03de1 100644 --- a/mcontainer/models.py +++ b/mcontainer/models.py @@ -55,4 +55,6 @@ class Config(BaseModel): sessions: Dict[str, dict] = Field( default_factory=dict ) # Store as dict to avoid serialization issues - defaults: Dict[str, str] = Field(default_factory=dict) + defaults: Dict[str, object] = Field( + default_factory=dict + ) # Can store strings, booleans, or other values