PROFILE_YML_PATH / PROFILE

If you wish to connect your project to an external data warehouse or an open-source processing systems (PySpark), then you need to define the PROFILE_YML_PATH and PROFILE var in the prism_project.py file.

The PROFILE_YML_PATH tells Prism the location of the profile YML configuration file. The default is a file called profile.yml in the project directory. The PROFILE variable tells Prism which named profile to use for the project.

# prism_project.py

...
# Profile directory and name
PROFILE_YML_PATH = Path(__file__).parent / 'profile.yml'
PROFILE = None
...

More information on how to create and manage profiles can be found in the profile page.

Last updated