dosubot[bot] commented on issue #31443:
URL: https://github.com/apache/superset/issues/31443#issuecomment-2542015153

   <!-- Answer -->
   The current implementation of the `/api/v1/assets/import/` endpoint in 
Superset requires all dependencies to be included in the import bundle. This 
means that when importing a dashboard, you must also include the associated 
charts, datasets, queries, and databases. This approach ensures consistency and 
prevents drift between exported and imported resources, but it can be 
problematic in scenarios like multi-tenant environments or when different 
update policies are needed for different resource types.
   
   One potential solution to this issue is to introduce a new parameter, such 
as `sparse`, to the import process. This parameter would allow the import 
process to use existing resources from the running database if the required 
dependencies are not found in the import bundle. This would provide more 
flexibility in managing resources across different Superset instances and 
environments.
   
   Currently, there is no built-in mechanism in Superset to handle missing 
dependencies in this way, but your suggestion could be a valuable enhancement 
to consider for future development.
   
   
   <!-- Dosu Comment Footer -->
   *To continue talking to [Dosu](https://dosu.dev), mention @dosu.*
   
   ---
   <sup>Help Dosu learn! Give it feedback: [Great 
Response](https://app.dosu.dev/response-feedback/f3ba3552-a25b-48e3-b7ca-427a6cc0251e?feedback_type=great_response)
 | [Irrelevant 
Answer](https://app.dosu.dev/response-feedback/f3ba3552-a25b-48e3-b7ca-427a6cc0251e?feedback_type=irrelevant_answer)
 | [Incorrect 
Sources](https://app.dosu.dev/response-feedback/f3ba3552-a25b-48e3-b7ca-427a6cc0251e?feedback_type=incorrect_sources)
 | [Too 
Verbose](https://app.dosu.dev/response-feedback/f3ba3552-a25b-48e3-b7ca-427a6cc0251e?feedback_type=too_verbose)
 | 
[Hallucination](https://app.dosu.dev/response-feedback/f3ba3552-a25b-48e3-b7ca-427a6cc0251e?feedback_type=hallucination)
 | 
[Other](https://app.dosu.dev/response-feedback/f3ba3552-a25b-48e3-b7ca-427a6cc0251e?feedback_type=other)</sup>
   


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