https://lakefs.io/ logo
#dev
Title
# dev
t

Tongguo Pang

10/05/2023, 3:00 PM
Hi channel, does anybody know how I can specify the branch name when I create tag with python client? thanks
a

Amit Kesarwani

10/05/2023, 3:10 PM
Copy code
lakefs.tags.create_tag(
        repository=repo,
        tag_creation=TagCreation(
            id=tagID, 
            ref=branch))
t

Tongguo Pang

10/05/2023, 3:11 PM
Hi Amit, thanks for the response. Can I assume id field is waht I put as tag name in the UI?
a

Amit Kesarwani

10/05/2023, 3:13 PM
Yes
t

Tongguo Pang

10/05/2023, 3:38 PM
thanks