Skip to content

Commit

Permalink
fix renewal_day_of_month type
Browse files Browse the repository at this point in the history
Signed-off-by: Igor Davidyuk <[email protected]>
  • Loading branch information
igor-davidyuk committed Aug 1, 2024
1 parent abe50cc commit c2ab302
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions geti_sdk/data_models/credit_system.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit c2ab302

Please sign in to comment.