Skip to content

Commit

Permalink
feat(Voice): type hint for Destination type added
Browse files Browse the repository at this point in the history
  • Loading branch information
650elx committed Mar 20, 2024
1 parent c8a47d0 commit 69b2096
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sinch/domains/voice/models/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from dataclasses import dataclass
from typing import TypedDict
from typing import TypedDict, Literal


@dataclass
Expand All @@ -25,7 +25,7 @@ class ApplicationNumber:


class Destination(TypedDict):
type: str
type: Literal["number", "username"]
endpoint: str


Expand Down

0 comments on commit 69b2096

Please sign in to comment.