Dataflows
pull_module()
登录后可跨设备保存划线和私人笔记登录
pull_module()
hamilton.dataflows.pull_module(dataflow: str, user: str = None, version: str = 'latest', overwrite: bool = False)[source]
Pulls a dataflow module.
Saves to hamilton.dataflow.USER_PATH. An import should just work right after doing this.
It performs the following:
- Creates a URL to pull from github.
- Pulls the code for the dataflow.
- Save to the local location based on hamilton.dataflow.USER_PATH.
Parameters:
- dataflow – the dataflow name.
- user – the user’s github handle.
- version – the commit version. “latest” will resolve to the most recent commit, else pass a commit SHA.
- overwrite – whether to overwrite. Default is False.
评论
登录后参与评论
正在加载评论…
KnowForge