Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PYTHON] Add a tag parameter to the Transaction #8200

Open
mickaellcr opened this issue Sep 20, 2024 · 0 comments
Open

[PYTHON] Add a tag parameter to the Transaction #8200

mickaellcr opened this issue Sep 20, 2024 · 0 comments

Comments

@mickaellcr
Copy link

Hello Everyone!

The Transaction feature is excellent :) I'm wondering if we could add a TAG option to the lakefs python lib on the Transaction class?

Currently, we have

def __init__(self, repository_id: str, branch_id: str, commit_message: str = "",
                 commit_metadata: Optional[Dict] = None, delete_branch_on_error: bool = True, client: Client = None):
       

For some transactions, I would like to add a tag, unfortunately it's not possible to retrieve the SHA commit right away. I need, after the transaction, to get the head, make sure it's the right commit (thanks to the commit message), and then I can tag it.

I think it would be nice to have it inside the transaction too!

Have an excellent day!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants