Antonio-RiveroMartnez commented on code in PR #20281:
URL: https://github.com/apache/superset/pull/20281#discussion_r925570424


##########
superset/explore/commands/get.py:
##########
@@ -152,11 +153,6 @@ def run(self) -> Optional[Dict[str, Any]]:
         except (SupersetException, SQLAlchemyError):
             dataset_data = dummy_dataset_data
 
-        if dataset:

Review Comment:
   @hughhhh `DatasourceEditor` uses it, without it you would get the `Owners is 
invalid` error every time you try to edit a datasource in explore and you would 
also see `undefined undefined` as owner when loading its info, so before 
putting it back I'd like to ask if there was any particular reason why we 
removed it?



-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to