Skip to content

Commit

Permalink
fix: hive_id default was no factory
Browse files Browse the repository at this point in the history
  • Loading branch information
aleneum committed Dec 11, 2024
1 parent bb449ac commit 8ac2c9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hive_cli/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class ServerConfig(BaseModel):


class Settings(BaseModel):
hive_id: str = Field(default_factory=uuid.uuid4().hex)
hive_id: str = Field(default_factory=lambda: uuid.uuid4().hex)
hive_url: str = "https://github.com/caretech-owl/hive.git"
hive_repo: Path = CONFIG_PATH / "hive"
update_interval: int = 60
Expand Down

0 comments on commit 8ac2c9e

Please sign in to comment.