Skip to main content

The python extractor utils requires the config to be stored as a local file there is not way to pass it directly as a string/yaml object. This makes it quite cumbersome to use as not all our deployments have access to local file storage for config files.

Is there a way to add support for the config to be passed as an environment variable?

 

Reading config from env example:
 

 

Hi ​@Markus Pettersen,

Cognite has no plans to add this functionality to the extractor utils package. 

BUT, since this is a public repository, feel free to provide a pull request for the team to evaluate.

I would suggest initiating a discussion with the team maintaining the package (try creating a github issue and I’ll make sure they take a look, please).


GitHub issue has already been created, I’ll follow this up there then and see if get somewhere:
https://github.com/cognitedata/python-extractor-utils/issues/448


Reply