From 771c4a7fef3021ad9972cc42d1da4d0dea5e182c Mon Sep 17 00:00:00 2001 From: Maxime Armstrong Date: Fri, 27 Dec 2024 10:21:55 -0500 Subject: [PATCH] Use record instead of namedtuple --- .../libraries/dagster-powerbi/dagster_powerbi/translator.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/python_modules/libraries/dagster-powerbi/dagster_powerbi/translator.py b/python_modules/libraries/dagster-powerbi/dagster_powerbi/translator.py index 6b9c3d638a570..14800a063e701 100644 --- a/python_modules/libraries/dagster-powerbi/dagster_powerbi/translator.py +++ b/python_modules/libraries/dagster-powerbi/dagster_powerbi/translator.py @@ -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. """