github.com/treeverse/lakefs@v1.24.1-0.20240520134607-95648127bfb0/clients/python/docs/Merge.md (about)

     1  # Merge
     2  
     3  
     4  ## Properties
     5  
     6  Name | Type | Description | Notes
     7  ------------ | ------------- | ------------- | -------------
     8  **message** | **str** |  | [optional] 
     9  **metadata** | **Dict[str, str]** |  | [optional] 
    10  **strategy** | **str** | In case of a merge conflict, this option will force the merge process to automatically favor changes from the dest branch ('dest-wins') or from the source branch('source-wins'). In case no selection is made, the merge process will fail in case of a conflict | [optional] 
    11  **force** | **bool** |  | [optional] [default to False]
    12  
    13  ## Example
    14  
    15  ```python
    16  from lakefs_sdk.models.merge import Merge
    17  
    18  # TODO update the JSON string below
    19  json = "{}"
    20  # create an instance of Merge from a JSON string
    21  merge_instance = Merge.from_json(json)
    22  # print the JSON string representation of the object
    23  print Merge.to_json()
    24  
    25  # convert the object into a dict
    26  merge_dict = merge_instance.to_dict()
    27  # create an instance of Merge from a dict
    28  merge_form_dict = merge.from_dict(merge_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