latest_commit()

hamilton.dataflows.latest_commit(dataflow: str, user: str = None) str

Determines the latest commit for a dataflow.

This is useful to know if you want to pull the latest version of a dataflow.

Parameters:
  • dataflow – the string name of the dataflow

  • user – the name of the user. None if official.

Returns:

the commit sha.