lakeFS icon indicating copy to clipboard operation
lakeFS copied to clipboard

HL Python SDK: Alias Commit class to Reference

Open N-o-Z opened this issue 1 year ago • 0 comments

Currently Commit class is an data model containing commit data. It can also be used an alias for Reference and can then be used seamlessly to provide reference functionality when received as a return value (from log method for example)

Issues to solve: Currently Reference object has the method get_commit() which returns the commit data for the reference in a Commit object. We might want to change that so we don't have the following syntax: commit.get_commit()

N-o-Z avatar Dec 21 '23 11:12 N-o-Z