From c2ab302b5863d670f74a9ba62469ba3b17ab4821 Mon Sep 17 00:00:00 2001 From: Igor Davidyuk Date: Thu, 1 Aug 2024 09:26:54 +0200 Subject: [PATCH] fix renewal_day_of_month type Signed-off-by: Igor Davidyuk --- geti_sdk/data_models/credit_system.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/geti_sdk/data_models/credit_system.py b/geti_sdk/data_models/credit_system.py index 58cabeae..11ad9eb6 100644 --- a/geti_sdk/data_models/credit_system.py +++ b/geti_sdk/data_models/credit_system.py @@ -61,9 +61,7 @@ class CreditAccount: expires: Optional[str] = attr.field( default=None, converter=str_to_datetime ) # renewable account doesn't have an expiration timestamp by default - renewal_day_of_month: Optional[str] = attr.field( - default=None, converter=str_to_datetime - ) + renewal_day_of_month: Optional[int] = None # renewable quota, for the welcoming one-off account it's None renewable_amount: Optional[int] = None