Hi, I used to load repositories from different mod...
# announcements
s
Hi, I used to load repositories from different modules like this in my `workspace.yaml`:
Copy code
load_from:
  - python_file:
      relative_path: src/common/repositories.py
  - python_file:
      relative_path: src/project_alpha/repositories.py
  - python_file:
      relative_path: src/project_beta/repositories.py
With 0.9.19, I am getting this error
Copy code
dagster.check.CheckError: Invariant failed. Description: Cannot have multiple locations with the same name, got multiple "repositories.py"
Are we supposed to have unique name for each repository now?
d
Hi Sze - you can add a location_name key to each entry in the YAML to give it a new name if the default names are conflicting. We use location names to uniquely identify pipelines so they need to be unique within the workspace.
👍 1
s
Awesome, that works. Thank you!