https://dagster.io/ logo
#announcements
Title
# announcements
s

szelee

11/13/2020, 12:41 PM
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

daniel

11/13/2020, 1:27 PM
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

szelee

11/13/2020, 1:47 PM
Awesome, that works. Thank you!