https://dagster.io/ logo
#ask-community
Title
# ask-community
a

Akshay Verma

01/04/2023, 11:08 AM
Hi, I am using
dagster project scaffold
to start a new dagster project which uses
repository
. I see in the docs that
Definitions
is used to load assets. What is the connections between these two and which one to use?
🤖 1
c

claire

01/04/2023, 5:35 PM
Hi Akshay. We recently replaced
repository
with
Definitions
for a couple of reasons: • repositories cause confusion as they collide with GitHub repositories • multiple repositories can exist at the same code location which causes more organizational burden I'd recommend using
Definitions
instead of
repository
, you can follow the code example here: https://docs.dagster.io/concepts/code-locations#defining-code-locations
a

Akshay Verma

01/05/2023, 8:41 AM
Thank you, will have a look.
4 Views