You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[dg cli] More clearly error if module name doesn't match what we expect (dagster-io#27662)
## Summary
Ran into this in the new `product-operations` purina code location,
which didn't have the same python module name as the code location name.
The error message gave me the runaround.
## Test Plan
New unit test.
f"Could not find expected package `{self.root_package_name}` in the current environment. Components expects the package name to match the directory name of the code location."
f"Could not find expected package `{self.root_package_name}` in the current environment. Components expects the package name to match the directory name of the code location."
Copy file name to clipboardExpand all lines: python_modules/libraries/dagster-dg/dagster_dg_tests/cli_tests/component_command_tests/test_component_commands.py
"Could not find expected package `foo_bar` in the current environment. Components expects the package name to match the directory name of the code location."
0 commit comments