github.com/treeverse/lakefs@v1.24.1-0.20240520134607-95648127bfb0/clients/python/docs/TagCreation.md (about) 1 # TagCreation 2 3 Make tag ID point at this REF. 4 5 ## Properties 6 7 Name | Type | Description | Notes 8 ------------ | ------------- | ------------- | ------------- 9 **id** | **str** | ID of tag to create | 10 **ref** | **str** | the commit to tag | 11 **force** | **bool** | | [optional] [default to False] 12 13 ## Example 14 15 ```python 16 from lakefs_sdk.models.tag_creation import TagCreation 17 18 # TODO update the JSON string below 19 json = "{}" 20 # create an instance of TagCreation from a JSON string 21 tag_creation_instance = TagCreation.from_json(json) 22 # print the JSON string representation of the object 23 print TagCreation.to_json() 24 25 # convert the object into a dict 26 tag_creation_dict = tag_creation_instance.to_dict() 27 # create an instance of TagCreation from a dict 28 tag_creation_form_dict = tag_creation.from_dict(tag_creation_dict) 29 ``` 30 [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 31 32