Kelly Huang
03/07/2022, 11:27 PMin get_flow
from github import UnknownObjectException
ModuleNotFoundError: No module named 'github'
I'm reading differing things about whether or not github storage can access package dependencies? Correct me if I'm wrong, but shouldn't it definitely be able to access my Pipfile and therefore dependencies? Otherwise what would the point of github storage be?repo="workspace/repo" not "kellyhuang/repo"
does that make sense?Kevin Kho
03/08/2022, 12:35 AMgithub
a custom module for you? The answer here is no though that GitHub storage cannot store custom modules because we do pull the repo, but the path resolving is really hard if not impossible to make those modules importable. It might be possible in the near future with changes to cloudpickle that allow deep serialization of modules, but this would be an Orion think as opposed to current Prefect. If you are using a local agent though, you can run point to the working dir you want to run the flow in using LocalRun. You can also start the agent out of an environment and that will use that environment to run Flows.Kelly Huang
03/08/2022, 6:22 PMFile "/Users/kellyhuang/.local/share/virtualenvs/etl-_MbHxiVk/lib/python3.8/site-packages/prefect/storage/github.py", line 62, in get_flow
from github import UnknownObjectException
Kevin Kho
03/08/2022, 6:23 PMpip install prefect[github]
?Kelly Huang
03/08/2022, 6:27 PMpipenv install --pre prefect[github]
which failedKevin Kho
03/08/2022, 6:28 PM--pre
flag?Kelly Huang
03/08/2022, 6:38 PMKevin Kho
03/08/2022, 7:00 PM