You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by dp...@apache.org on 2024/02/20 15:09:54 UTC

(superset) branch master updated: feat(adt): add 403 to api response status codes (#27162)

This is an automated email from the ASF dual-hosted git repository.

dpgaspar pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/superset.git


The following commit(s) were added to refs/heads/master by this push:
     new b8fc2e57cc feat(adt): add 403 to api response status codes (#27162)
b8fc2e57cc is described below

commit b8fc2e57cc8775501d49d8b1acb754252e24a057
Author: Anirudh Hegde <he...@gmail.com>
AuthorDate: Tue Feb 20 20:39:47 2024 +0530

    feat(adt): add 403 to api response status codes (#27162)
---
 superset/advanced_data_type/api.py | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/superset/advanced_data_type/api.py b/superset/advanced_data_type/api.py
index e0d4b9368b..c96c54157c 100644
--- a/superset/advanced_data_type/api.py
+++ b/superset/advanced_data_type/api.py
@@ -86,6 +86,8 @@ class AdvancedDataTypeRestApi(BaseSupersetApi):
               $ref: '#/components/responses/400'
             401:
               $ref: '#/components/responses/401'
+            403:
+              $ref: '#/components/responses/403'
             404:
               $ref: '#/components/responses/404'
             500:
@@ -139,6 +141,8 @@ class AdvancedDataTypeRestApi(BaseSupersetApi):
                           type: string
             401:
               $ref: '#/components/responses/401'
+            403:
+              $ref: '#/components/responses/403'
             404:
               $ref: '#/components/responses/404'
             500: