Skip to content

Commit

Permalink
Use record instead of namedtuple
Browse files Browse the repository at this point in the history
  • Loading branch information
maximearmstrong committed Dec 27, 2024
1 parent a569079 commit 771c4a7
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,8 @@ class PowerBIContentData:
properties: Dict[str, Any]


class PowerBITranslatorData(NamedTuple):
@record
class PowerBITranslatorData:
"""A record representing a piece of content in PowerBI and the PowerBI workspace data.
Includes the content's type and data as returned from the API.
"""
Expand Down

0 comments on commit 771c4a7

Please sign in to comment.