Dataflows
inspect()
登录后可跨设备保存划线和私人笔记登录
inspect()
Use this to get cursory information about a Apache Hamilton module.
class hamilton.dataflows.InspectResult(version, user, dataflow, python_dependencies, configurations)[source]
hamilton.dataflows.inspect(dataflow: str, user: str = None, version: str = 'latest') → InspectResult[source]
Inspects a dataflow for information.
This is a helper function to get information about a dataflow that exists locally. It does not get more information because we don’t want to assume we can import the module.
from hamilton import dataflows
info = dataflows.inspect("text_summarization", "zilto")Parameters:
- dataflow – the dataflow name.
- user – the github name of the user. None for DAGWorks official.
- version – the version to inspect. “latest” will resolve to the most recent commit, else pass a commit SHA.
Returns:
hamilton.dataflow.InspectResult object that contains version, user URL, dataflow URL, python dependencies, configurations.
评论
登录后参与评论
正在加载评论…
KnowForge