github.com/treeverse/lakefs@v1.24.1-0.20240520134607-95648127bfb0/clients/python/docs/CommitRecordCreation.md (about) 1 # CommitRecordCreation 2 3 4 ## Properties 5 6 Name | Type | Description | Notes 7 ------------ | ------------- | ------------- | ------------- 8 **commit_id** | **str** | id of the commit record | 9 **version** | **int** | version of the commit record | 10 **committer** | **str** | committer of the commit record | 11 **message** | **str** | message of the commit record | 12 **metarange_id** | **str** | metarange_id of the commit record | 13 **creation_date** | **int** | Unix Epoch in seconds | 14 **parents** | **List[str]** | parents of the commit record | 15 **metadata** | **Dict[str, str]** | metadata of the commit record | [optional] 16 **generation** | **int** | generation of the commit record | 17 **force** | **bool** | | [optional] [default to False] 18 19 ## Example 20 21 ```python 22 from lakefs_sdk.models.commit_record_creation import CommitRecordCreation 23 24 # TODO update the JSON string below 25 json = "{}" 26 # create an instance of CommitRecordCreation from a JSON string 27 commit_record_creation_instance = CommitRecordCreation.from_json(json) 28 # print the JSON string representation of the object 29 print CommitRecordCreation.to_json() 30 31 # convert the object into a dict 32 commit_record_creation_dict = commit_record_creation_instance.to_dict() 33 # create an instance of CommitRecordCreation from a dict 34 commit_record_creation_form_dict = commit_record_creation.from_dict(commit_record_creation_dict) 35 ``` 36 [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 37 38