Skip to content

Commit

Permalink
Fix type
Browse files Browse the repository at this point in the history
  • Loading branch information
XFY9326 committed Feb 26, 2024
1 parent a9605a4 commit 45060fb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pyndef/ndef.py
Original file line number Diff line number Diff line change
Expand Up @@ -400,10 +400,10 @@ class NdefMessage:
def __init__(self, *records: NdefRecord) -> None:
if len(records) == 0:
raise ValueError("must have at least one record")
self._records: tuple[NdefRecord, ...] = records
self._records: Tuple[NdefRecord, ...] = records

@property
def records(self) -> tuple[NdefRecord, ...]:
def records(self) -> Tuple[NdefRecord, ...]:
return self._records

@staticmethod
Expand Down

0 comments on commit 45060fb

Please sign in to comment.