Skip to content

Commit

Permalink
Remove subscript in generic types for Attachment
Browse files Browse the repository at this point in the history
Signed-off-by: Sacha Kozma <[email protected]>
  • Loading branch information
yvgny committed Mar 6, 2023
1 parent e1379ad commit 6da1d92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion didcomm/message.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ class Attachment:
AttachmentDataLinks, AttachmentDataBase64, AttachmentDataJson
] = attr.ib(
validator=validator__instance_of(
Union[AttachmentDataLinks, AttachmentDataBase64, AttachmentDataJson]
(AttachmentDataLinks, AttachmentDataBase64, AttachmentDataJson)
),
)
id: Optional[Union[str, Callable]] = attr.ib(
Expand Down

0 comments on commit 6da1d92

Please sign in to comment.