https://dagster.io/ logo
#dagster-support
Title
# dagster-support
b

Brandon Butler

01/19/2023, 9:53 PM
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

chris

01/19/2023, 9:57 PM
seems feasible, you just need some mechanism for importing their code as a module, and then running that code within dagster ops / assets
w

Will Tyree

01/20/2023, 12:07 AM
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

Brandon Butler

01/20/2023, 1:12 AM
Thank you both! Mind if I PM you @Will Tyree?
w

Will Tyree

01/20/2023, 3:39 PM
np!
2 Views