Datalore 2024.5 Help

View interactive report runners

Use the REPORT_RUNNER_EMAIL environment variable to view the emails of those viewers who run interactive reports (initiators). This information can help you, as a report owner, modify the content of your report based on which user is viewing or running it. For example, you can change the options available in the interactive controls used in the report, or hide certain categories from the tables provided in it.

Cases of when the REPORT_RUNNER_EMAIL environment variable is populated are different in the On-Premises and Cloud versions of Datalore.

On-Premises

Cloud plan

Cloud Free plan

For all types of authorized users:

  • Report owner

  • Regular type user

  • Viewer type user

For certain users:

  • Team owner

  • Team member

For one user type only:

  • Report owner

To access the environment value, you can use the os module:

import os os.environ.get('REPORT_RUNNER_EMAIL')
Last modified: 08 November 2024