Kelly Huang03/07/2022, 11:27 PM
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?
in get_flow from github import UnknownObjectException ModuleNotFoundError: No module named 'github'
does that make sense?
repo="workspace/repo" not "kellyhuang/repo"
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 Huang03/08/2022, 6:22 PM
File "/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
pip install prefect[github]
Kelly Huang03/08/2022, 6:27 PM
pipenv install --pre prefect[github]
Kelly Huang03/08/2022, 6:38 PM