How can I change the default location where a .conf file is created to any custom location?
Hello Community,
I am using the great expectations package in a dss project for my Data Quality checks.
I have already installed it in my code env and using it in a python script for the time being.
Even though, the package properly runs in a python notebook when I save it back to recipe I get the following error:
"
Job failed: Error in Python process: At line 15: <class 'PermissionError'>: [Errno 13] Permission denied: '/home/dataiku/.great_expectations/great_expectations.conf'
"
I think the error occurs because the package is creating .conf file in my dss user home , I need to change the default location to any custom location. Can you please help me on how to override the default location of the 'great_expectations.conf' file to another directory outside of the dss user's HOMEDIR ?
Thanks in advance,
Efthymios D.
Operating system used: Windows 10 Enterprise
Answers
-
Turribeach Dataiku DSS Core Designer, Neuron, Dataiku DSS Adv Designer, Registered, Neuron 2023 Posts: 2,190 Neuron
This is not a Dataiku question but a great expectations package question so probably best to raise as a discussion in the great_expectations/discussions Github repo. It does look like you can pass the configuration values as environment variables or as parameters to get_context():