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

     1  # Diff
     2  
     3  
     4  ## Properties
     5  
     6  Name | Type | Description | Notes
     7  ------------ | ------------- | ------------- | -------------
     8  **type** | **str** |  | 
     9  **path** | **str** |  | 
    10  **path_type** | **str** |  | 
    11  **size_bytes** | **int** | represents the size of the added/changed/deleted entry | [optional] 
    12  
    13  ## Example
    14  
    15  ```python
    16  from lakefs_sdk.models.diff import Diff
    17  
    18  # TODO update the JSON string below
    19  json = "{}"
    20  # create an instance of Diff from a JSON string
    21  diff_instance = Diff.from_json(json)
    22  # print the JSON string representation of the object
    23  print Diff.to_json()
    24  
    25  # convert the object into a dict
    26  diff_dict = diff_instance.to_dict()
    27  # create an instance of Diff from a dict
    28  diff_form_dict = diff.from_dict(diff_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