github.com/treeverse/lakefs@v1.24.1-0.20240520134607-95648127bfb0/clients/python/docs/CommitCreation.md (about) 1 # CommitCreation 2 3 4 ## Properties 5 6 Name | Type | Description | Notes 7 ------------ | ------------- | ------------- | ------------- 8 **message** | **str** | | 9 **metadata** | **Dict[str, str]** | | [optional] 10 **var_date** | **int** | set date to override creation date in the commit (Unix Epoch in seconds) | [optional] 11 **allow_empty** | **bool** | sets whether a commit can contain no changes | [optional] [default to False] 12 **force** | **bool** | | [optional] [default to False] 13 14 ## Example 15 16 ```python 17 from lakefs_sdk.models.commit_creation import CommitCreation 18 19 # TODO update the JSON string below 20 json = "{}" 21 # create an instance of CommitCreation from a JSON string 22 commit_creation_instance = CommitCreation.from_json(json) 23 # print the JSON string representation of the object 24 print CommitCreation.to_json() 25 26 # convert the object into a dict 27 commit_creation_dict = commit_creation_instance.to_dict() 28 # create an instance of CommitCreation from a dict 29 commit_creation_form_dict = commit_creation.from_dict(commit_creation_dict) 30 ``` 31 [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 32 33