Skip to content

Commit

Permalink
Merge pull request #64 from shinybrar/63-env-no-longer-optional-in-se…
Browse files Browse the repository at this point in the history
…ssioncreate-in-v142

Default values for CreateSpec Model
  • Loading branch information
shinybrar authored Nov 8, 2024
2 parents 5176e31 + 2212fd0 commit 192b987
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion skaha/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ class CreateSpec(BaseModel):
None, description="Arguments to the command.", examples=["-la"]
)
env: Optional[Dict[str, Any]] = Field(
..., description="Environment variables.", examples=[{"FOO": "BAR"}]
None, description="Environment variables.", examples=[{"FOO": "BAR"}]
)
replicas: int = Field(
1, description="Number of sessions to launch.", ge=1, le=256, exclude=True
Expand Down
2 changes: 1 addition & 1 deletion uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 192b987

Please sign in to comment.