From ecab02c4f30364e31888da5807441dd4d3357bc4 Mon Sep 17 00:00:00 2001 From: Zach Aysan Date: Fri, 1 Nov 2024 19:25:35 +0000 Subject: [PATCH] Remove nested object TODO --- api/organisations/subscriptions/licensing/licensing.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/api/organisations/subscriptions/licensing/licensing.py b/api/organisations/subscriptions/licensing/licensing.py index 926eff72c5fd..5f4afd6adcdf 100644 --- a/api/organisations/subscriptions/licensing/licensing.py +++ b/api/organisations/subscriptions/licensing/licensing.py @@ -11,9 +11,8 @@ class LicenceInformation(BaseModel): department_name: typing.Optional[str] = None expiry_date: typing.Optional[datetime] = None - # TODO: should these live in a nested object? num_seats: int num_projects: int # TODO: what about Flagsmith on Flagsmith project? - num_api_calls: typing.Optional[ - int - ] = None # required to support private cloud installs + num_api_calls: typing.Optional[int] = ( + None # required to support private cloud installs + )