ephod commented on issue #18980:
URL: https://github.com/apache/superset/issues/18980#issuecomment-1073119873


   I had a similar problem regarding `superset export-dashboards`, this solved 
my issue. I don't have enough time to create a patch, but this is the change 
might help you.
   
   ```python
   for slc in dashboard.slices: 
       if slc.datasource is None: 
           logger.info("Datasource is none") 
           continue
   ```
   
   
https://github.com/apache/superset/blob/d645579cdd64b7fe7f9dde4a8da000dd7db51ce9/superset/models/dashboard.py#L374


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