Skip to content

Commit

Permalink
Revert "feat(alerts): Column for select tabs to send (apache#17604)"
Browse files Browse the repository at this point in the history
This reverts commit 1377465.
  • Loading branch information
sadpandajoe committed Dec 7, 2021
1 parent 2ae83fa commit c68a36c
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 54 deletions.

This file was deleted.

2 changes: 1 addition & 1 deletion superset/models/alerts.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ def __str__(self) -> str:

@property
def pretty_config(self) -> str:
"""String representing the comparison that will trigger a validator"""
""" String representing the comparison that will trigger a validator """
config = json.loads(self.validator_config)

if self.validator_type.lower() == "operator":
Expand Down
3 changes: 0 additions & 3 deletions superset/models/reports.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,9 +145,6 @@ class ReportSchedule(Model, AuditMixinNullable):
# (Alerts/Reports) Unlock a possible stalled working state
working_timeout = Column(Integer, default=60 * 60 * 1)

# Store the selected dashboard tabs etc.
extra = Column(Text, default="{}")

def __repr__(self) -> str:
return str(self.name)

Expand Down

0 comments on commit c68a36c

Please sign in to comment.