Commit 672ba6a 1 parent b5da319 commit 672ba6a Copy full SHA for 672ba6a
File tree 1 file changed +6
-2
lines changed
metadata-ingestion/src/datahub/ingestion/source
1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -189,7 +189,9 @@ class SupersetConfig(
189
189
provider : str = Field (default = "db" , description = "Superset provider." )
190
190
options : Dict = Field (default = {}, description = "" )
191
191
192
- timeout : int = Field (default = 10 , description = "Timeout of single API call to superset." )
192
+ timeout : int = Field (
193
+ default = 10 , description = "Timeout of single API call to superset."
194
+ )
193
195
194
196
# TODO: Check and remove this if no longer needed.
195
197
# Config database_alias is removed from sql sources.
@@ -302,7 +304,9 @@ def login(self) -> requests.Session:
302
304
if test_response .status_code == 200 :
303
305
# throw an error and terminate ingestion,
304
306
# cannot proceed without access token
305
- logger .error (f"Failed to log in to Superset with status: { test_response .status_code } " )
307
+ logger .error (
308
+ f"Failed to log in to Superset with status: { test_response .status_code } "
309
+ )
306
310
return requests_session
307
311
308
312
def paginate_entity_api_results (self , entity_type , page_size = 100 ):
You can’t perform that action at this time.
0 commit comments