Best approach to set environment variables to be parsed by a python knime extension ?

Hello,

Let’s say I’m building a python KNIME extension that would allow users to interact with their gitlab instance.

THis python extension would need to work with 2 environment variables that need to be set by the user :

  • GITLAB_HOST_URL
  • GITLAB_TOKEN

What would the best approach to allow my extension users to define/edit these variables within KNIME ? Should they create a .env file within their project folder or is there a more KNIME-ish approach ?

Thanks for your help

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.