Skip to content

Commit

Permalink
Minor typing
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisvanrun committed Aug 27, 2024
1 parent 97d74c6 commit ffbb9a9
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions gcapi/models_proto.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
HyperlinkedComponentInterfaceValue,
HyperlinkedImage,
)
from gcapi.typing import CIVSetDescription, FileSource
from gcapi.typing import CIVSet, CIVSetDescription, FileSource


class TooManyFiles(ValueError):
Expand Down Expand Up @@ -96,9 +96,7 @@ def __init__(
FileSource, HyperlinkedComponentInterfaceValue, HyperlinkedImage
],
interface: ComponentInterface,
parent: Optional[
Union[ArchiveItem, ArchiveItemPost, DisplaySet, DisplaySetPost]
] = None,
parent: Optional[CIVSet] = None,
**kwargs,
):
super().__init__(**kwargs)
Expand Down

0 comments on commit ffbb9a9

Please sign in to comment.