Skip to content

Commit

Permalink
Remove dataset property
Browse files Browse the repository at this point in the history
  • Loading branch information
JCZuurmond committed Jun 20, 2024
1 parent 29093c4 commit 6f203c5
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/databricks/labs/lsql/dashboards.py
Original file line number Diff line number Diff line change
Expand Up @@ -241,15 +241,6 @@ def _find_fields(self) -> list[Field]:
fields.append(field)
return fields

@property
def dataset(self) -> Dataset:
dataset = Dataset(
name=self._widget_metadata.id,
display_name=self._widget_metadata.id,
query=self._widget_metadata.path.read_text(),
)
return dataset

@property
def widget(self) -> Widget:
fields = self._find_fields()
Expand Down

0 comments on commit 6f203c5

Please sign in to comment.