GitHub user dosubot[bot] added a comment to the discussion: In Apache Superset, to include a logo in PDF/email reports, does it require frontend code change?
<!-- Greeting --> Hello @Somu-1511-gif! I'm [Dosu](https://dosu.dev), your friendly bot here to help you solve bugs, answer questions, and navigate the world of contributions. While you wait for a human maintainer, feel free to ask away! 🚀 <!-- Answer --> The logic for including logos or other images in PDF/email reports in Apache Superset is implemented in the backend, specifically in the file `superset/utils/core.py`. This involves attaching images as inline using the `MIMEImage` class, which does not require changes to the frontend code <sup>[[1]](https://github.com/apache/superset/blob/master/superset/utils/core.py)</sup>. <!-- 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/da5f13f4-6080-4247-b6b0-a147d9a0f418?feedback_type=great_response) | [Irrelevant Answer](https://app.dosu.dev/response-feedback/da5f13f4-6080-4247-b6b0-a147d9a0f418?feedback_type=irrelevant_answer) | [Incorrect Sources](https://app.dosu.dev/response-feedback/da5f13f4-6080-4247-b6b0-a147d9a0f418?feedback_type=incorrect_sources) | [Too Verbose](https://app.dosu.dev/response-feedback/da5f13f4-6080-4247-b6b0-a147d9a0f418?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/da5f13f4-6080-4247-b6b0-a147d9a0f418?feedback_type=hallucination) | [Bug Report](https://app.dosu.dev/response-feedback/da5f13f4-6080-4247-b6b0-a147d9a0f418?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/da5f13f4-6080-4247-b6b0-a147d9a0f418?feedback_type=other)</sup> GitHub link: https://github.com/apache/superset/discussions/33416#discussioncomment-13126425 ---- This is an automatically sent email for [email protected]. To unsubscribe, please send an email to: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
