We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0de78d8 commit 663fe60Copy full SHA for 663fe60
superset/security/manager.py
@@ -623,7 +623,7 @@ def has_drill_by_access(
623
and form_data.get("slice_id") == 0
624
and (chart_id := form_data.get("chart_id"))
625
and (
626
- slc := self.get_session.query(Slice)
+ slc := self.session.query(Slice)
627
.filter(Slice.id == chart_id)
628
.one_or_none()
629
)
@@ -633,7 +633,7 @@ def has_drill_by_access(
633
634
drillable_columns := {
635
row[0]
636
- for row in self.get_session.query(TableColumn.column_name)
+ for row in self.session.query(TableColumn.column_name)
637
.filter(TableColumn.table_id == datasource.id)
638
.filter(TableColumn.groupby)
639
.all()
0 commit comments