Skip to content

Commit

Permalink
docs: add type hint
Browse files Browse the repository at this point in the history
  • Loading branch information
ankit-v2-3 committed Feb 22, 2024
1 parent 5d6cc0d commit 30da85a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions videodb/asset.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,11 +91,11 @@ class ImageAsset(MediaAsset):
def __init__(
self,
asset_id: str,
width: Optional[int] = 100,
height: Optional[int] = 100,
x: Optional[int] = 80,
y: Optional[int] = 20,
duration: Optional[Union[int, None]] = None,
width: Union[int, str] = 100,
height: Union[int, str] = 100,
x: Union[int, str] = 80,
y: Union[int, str] = 20,
duration: Optional[int] = None,
) -> None:
super().__init__(asset_id)
self.width = width
Expand Down

0 comments on commit 30da85a

Please sign in to comment.