Skip to content

Commit

Permalink
Adds Missing Key Expiration Field in Response
Browse files Browse the repository at this point in the history
  • Loading branch information
dvonthenen committed Jul 31, 2024
1 parent 22dc7d0 commit f37aaa5
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 @@ -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()
Expand Down

0 comments on commit f37aaa5

Please sign in to comment.