mirror of
https://github.com/apache/superset.git
synced 2026-04-24 18:44:53 +00:00
chore: enforce more ruff rules (#31447)
Co-authored-by: Elizabeth Thompson <eschutho@gmail.com>
This commit is contained in:
committed by
GitHub
parent
9da65d6bfd
commit
e51b95ffa8
@@ -155,7 +155,7 @@ class Dashboard(AuditMixinNullable, ImportExportMixin, Model):
|
||||
primaryjoin="and_(Dashboard.id == TaggedObject.object_id, "
|
||||
"TaggedObject.object_type == 'dashboard')",
|
||||
secondaryjoin="TaggedObject.tag_id == Tag.id",
|
||||
viewonly=True, # cascading deletion already handled by superset.tags.models.ObjectUpdater.after_delete
|
||||
viewonly=True, # cascading deletion already handled by superset.tags.models.ObjectUpdater.after_delete # noqa: E501
|
||||
)
|
||||
published = Column(Boolean, default=False)
|
||||
is_managed_externally = Column(Boolean, nullable=False, default=False)
|
||||
|
||||
Reference in New Issue
Block a user