This is an automated email from the ASF dual-hosted git repository. lyndsi pushed a commit to branch lyndsi/sql-lab-new-explore-button-functionality-and-move-save-dataset-to-split-save-button in repository https://gitbox.apache.org/repos/asf/superset.git
commit e751fe75c0587324b0165927627de6fd48847ccd Author: Hugh A. Miles II <[email protected]> AuthorDate: Fri Jul 8 13:44:04 2022 +0000 fix exceptions --- superset/datasource/commands/exceptions.py | 26 -------------------------- 1 file changed, 26 deletions(-) diff --git a/superset/datasource/commands/exceptions.py b/superset/datasource/commands/exceptions.py deleted file mode 100644 index 89c87e38cb..0000000000 --- a/superset/datasource/commands/exceptions.py +++ /dev/null @@ -1,26 +0,0 @@ -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. - -from superset.exceptions import SupersetException - - -class DatasourceForbiddenError(SupersetException): - message = "Datasource does not exist" - - -class DatasourceSamplesFailedError(SupersetException): - message = "Datasource Failed to fetch samples"
