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