Hey all,
Running into an module error. I have a sandbox environment running locally that is supposed to pull a function from a module in our code outside the root flyte folder. Seems like it should be simple... Is this possible?
t
thankful-minister-83577
01/11/2023, 12:30 AM
no not really. you’ll have to make the root folder a parent to all of them no?
thankful-minister-83577
01/11/2023, 12:30 AM
is this possible in raw python?
thankful-minister-83577
01/11/2023, 12:31 AM
unless you add the other path to
PYTHONPATH
it won’t find it right?
a
astonishing-addition-7920
01/11/2023, 12:35 AM
That's right, is there an option like that for Flyte?
g
glamorous-carpet-83516
01/12/2023, 10:55 PM
you can add your module to PYTHONPATH in your dockerfile