mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
fix: Ensure table uniqueness on update (#15909)
* fix: Ensure table uniqueness on update * Update models.py * Update slice.py * Update datasource_tests.py Co-authored-by: John Bodley <john.bodley@airbnb.com>
This commit is contained in:
@@ -53,10 +53,9 @@ slice_user = Table(
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
|
||||
class Slice(
|
||||
class Slice( # pylint: disable=too-many-instance-attributes,too-many-public-methods
|
||||
Model, AuditMixinNullable, ImportExportMixin
|
||||
): # pylint: disable=too-many-public-methods, too-many-instance-attributes
|
||||
|
||||
):
|
||||
"""A slice is essentially a report or a view on data"""
|
||||
|
||||
__tablename__ = "slices"
|
||||
|
||||
Reference in New Issue
Block a user