From f37aaa524886f4692169c82075cb6ac5fd6b35ae Mon Sep 17 00:00:00 2001 From: David vonThenen <12752197+dvonthenen@users.noreply.github.com> Date: Wed, 31 Jul 2024 07:47:57 -0700 Subject: [PATCH] Adds Missing Key Expiration Field in Response --- deepgram/clients/manage/v1/response.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/deepgram/clients/manage/v1/response.py b/deepgram/clients/manage/v1/response.py index e3e1bf03..479d9c1d 100644 --- a/deepgram/clients/manage/v1/response.py +++ b/deepgram/clients/manage/v1/response.py @@ -140,6 +140,9 @@ class Key(DataClassJsonMixin): comment: Optional[str] = "" created: str = "" scopes: List[str] = field(default_factory=list) + expiration_date: str = field( + default="", metadata=dataclass_config(exclude=lambda f: f is None) + ) def __getitem__(self, key): _dict = self.to_dict()