Skip to content

Commit

Permalink
fix pydantic error
Browse files Browse the repository at this point in the history
  • Loading branch information
mileszim committed Oct 27, 2023
1 parent e7abcab commit a4caed8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion dask_cloudprovider/fly/sdk/models/apps/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ class FlyAppDeleteRequest(BaseModel):

class FlyAppDeleteResponse(BaseModel):
app_name: str
status: str
status: int
6 changes: 3 additions & 3 deletions dask_cloudprovider/fly/sdk/models/machines/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ class FlyMachineConfigGuest(BaseModel):
class FlyMachineConfigInit(BaseModel):
"""Model for FlyMachineConfig.init"""

exec: Union[str, None]
entrypoint: Union[str, None]
cmd: Union[str, None]
exec: Union[str, None] = None
entrypoint: Union[str, None] = None
cmd: Union[str, None] = None
tty: bool = False


Expand Down

0 comments on commit a4caed8

Please sign in to comment.