Kevin Otte
02/06/2023, 4:02 PMhistorical marketcap
) Im getting the following error
dagster._core.errors.DagsterImportError: Encountered ImportError: `No module named 'config'` while importing module data. Local modules were resolved using the working directory `/opt/dagster/app`. If another working directory should be used, please explicitly specify the appropriate path using the `-d` or `--working-directory` for CLI based targets or the `working_directory` configuration option for workspace targets.
where's the best place to keep a config file to be shared across multiple jobs or assets?.env file
?Sean Davis
02/06/2023, 4:34 PMKevin Otte
02/06/2023, 4:35 PMsean
02/08/2023, 12:22 PM/opt/dagster/app
is being used, but from your image, config.py
is not in this directory-- it’s inside another python package (assets
).
It’s hard to say more without knowing more about your filesystem layout, but I’m guessing that import assets.config
might resolve correctly.