mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
chore: refactor file upload commands (#28164)
This commit is contained in:
committed by
GitHub
parent
cfc440c56c
commit
de82d90b9c
@@ -98,6 +98,11 @@ class DatabaseSchemaUploadNotAllowed(CommandException):
|
||||
message = _("Database schema is not allowed for csv uploads.")
|
||||
|
||||
|
||||
class DatabaseUploadNotSupported(CommandException):
|
||||
status = 422
|
||||
message = _("Database type does not support file uploads.")
|
||||
|
||||
|
||||
class DatabaseUploadFailed(CommandException):
|
||||
status = 422
|
||||
message = _("Database upload file failed")
|
||||
|
||||
Reference in New Issue
Block a user