dpgaspar commented on a change in pull request #9002: [database] new, API table 
schema info
URL: 
https://github.com/apache/incubator-superset/pull/9002#discussion_r370256005
 
 

 ##########
 File path: superset/views/database/api.py
 ##########
 @@ -14,20 +14,88 @@
 # KIND, either express or implied.  See the License for the
 # specific language governing permissions and limitations
 # under the License.
+from typing import Dict, List, Optional
+
+from flask_appbuilder.api import expose, protect, safe
 from flask_appbuilder.models.sqla.interface import SQLAInterface
+from flask_babel import lazy_gettext as _
+from sqlalchemy.exc import SQLAlchemyError
 
-import superset.models.core as models
+from superset import event_logger
+from superset.models.core import Database
+from superset.utils.core import error_msg_from_exception, 
parse_js_uri_path_item
 from superset.views.base_api import BaseSupersetModelRestApi
+from superset.views.database.filters import DatabaseFilter
+from superset.views.database.mixins import DatabaseMixin
+from superset.views.database.validators import sqlalchemy_uri_validator
+
+
+def get_table_schema_info(
 
 Review comment:
   Not very happy with placing this here...

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to