vinesh nukala
02/22/2023, 1:28 AM@repository
def repo1():
pass
@repository
def repo2():
pass
@repository
def repo3():
pass
We would then want to create 3 code locations, but since we can only have 1 definitions object in a file we would have to create 3 python files each with there own definitions object.
However due the way our infrastructure code is setup, we want to be able onboard new code locations without being aware of the file names. Right now, with repository’s we just run:
dagster api grpc -- package-name dagster_user_code.repositories
and every time someone adds a new repo in the repository.py Dagster automatically detects it . Is there analogous way to this with code locations?Mykola Palamarchuk
02/22/2023, 8:18 AMvinesh nukala
02/22/2023, 6:01 PM