Skip to content

Commit

Permalink
Merge pull request #444 from dvonthenen/missing-key-exp-response
Browse files Browse the repository at this point in the history
Adds Missing Key Expiration Field in Response
  • Loading branch information
davidvonthenen authored Aug 1, 2024
2 parents a9e9d36 + f37aaa5 commit 8ac479c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions deepgram/clients/manage/v1/response.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,9 @@ class Key(BaseResponse):
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()
Expand Down

0 comments on commit 8ac479c

Please sign in to comment.