Hi! How should I schedule code from a different gi...
# ask-community
b
Hi! How should I schedule code from a different git repository to be run. The workflow we have is: a git repository with all business logic (e.g. a fully functioning report), and another git repository with all dagster objects and scheduling. The authors of the business logic codebase should not concern themselves with dagster, and dagster should just be able to import their code seamlessly. Is something like this feasible?
👍 1
c
seems feasible, you just need some mechanism for importing their code as a module, and then running that code within dagster ops / assets
w
yes, I'm doing this now. Assuming you scaffolded your dagster project the recommended way, add
"yourpackage @ git+<https://git.yourcompany.com/packagerepository/#egg=youreggname>"
to the
install_requires
list in
setup.py
. Then under
install_requires
add
dependency_links = ["<https://git.yourcompany.com/packagerepository/#egg=youregg>"]
❤️ 1
b
Thank you both! Mind if I PM you @Will Tyree?
w
np!