mirror of
https://github.com/apache/superset.git
synced 2026-04-26 03:24:53 +00:00
chore: Update pylint to 2.17.4 (#24700)
Co-authored-by: John Bodley <john.bodley@gmail.com>
This commit is contained in:
@@ -164,7 +164,9 @@ class Table(Model, AuditMixinNullable, ExtraJSONMixin, ImportExportMixin):
|
||||
return []
|
||||
|
||||
if not database.id:
|
||||
raise Exception("Database must be already saved to metastore")
|
||||
raise Exception( # pylint: disable=broad-exception-raised
|
||||
"Database must be already saved to metastore"
|
||||
)
|
||||
|
||||
default_props = default_props or {}
|
||||
session: Session = inspect(database).session
|
||||
|
||||
Reference in New Issue
Block a user