From a4caed8d9ac6af1f5416167cb7db778b258f3af3 Mon Sep 17 00:00:00 2001 From: Miles Zimmerman Date: Thu, 26 Oct 2023 18:08:18 -0700 Subject: [PATCH] fix pydantic error --- dask_cloudprovider/fly/sdk/models/apps/__init__.py | 2 +- dask_cloudprovider/fly/sdk/models/machines/__init__.py | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dask_cloudprovider/fly/sdk/models/apps/__init__.py b/dask_cloudprovider/fly/sdk/models/apps/__init__.py index 9a6ac3e3..034584a0 100644 --- a/dask_cloudprovider/fly/sdk/models/apps/__init__.py +++ b/dask_cloudprovider/fly/sdk/models/apps/__init__.py @@ -25,4 +25,4 @@ class FlyAppDeleteRequest(BaseModel): class FlyAppDeleteResponse(BaseModel): app_name: str - status: str + status: int diff --git a/dask_cloudprovider/fly/sdk/models/machines/__init__.py b/dask_cloudprovider/fly/sdk/models/machines/__init__.py index 44197fb6..ad89b181 100644 --- a/dask_cloudprovider/fly/sdk/models/machines/__init__.py +++ b/dask_cloudprovider/fly/sdk/models/machines/__init__.py @@ -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