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

     1  # CherryPickCreation
     2  
     3  
     4  ## Properties
     5  
     6  Name | Type | Description | Notes
     7  ------------ | ------------- | ------------- | -------------
     8  **ref** | **str** | the commit to cherry-pick, given by a ref | 
     9  **parent_number** | **int** | When cherry-picking a merge commit, the parent number (starting from 1) with which to perform the diff. The default branch is parent 1.  | [optional] 
    10  **force** | **bool** |  | [optional] [default to False]
    11  
    12  ## Example
    13  
    14  ```python
    15  from lakefs_sdk.models.cherry_pick_creation import CherryPickCreation
    16  
    17  # TODO update the JSON string below
    18  json = "{}"
    19  # create an instance of CherryPickCreation from a JSON string
    20  cherry_pick_creation_instance = CherryPickCreation.from_json(json)
    21  # print the JSON string representation of the object
    22  print CherryPickCreation.to_json()
    23  
    24  # convert the object into a dict
    25  cherry_pick_creation_dict = cherry_pick_creation_instance.to_dict()
    26  # create an instance of CherryPickCreation from a dict
    27  cherry_pick_creation_form_dict = cherry_pick_creation.from_dict(cherry_pick_creation_dict)
    28  ```
    29  [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
    30  
    31