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

     1  # StagingMetadata
     2  
     3  information about uploaded object
     4  
     5  ## Properties
     6  
     7  Name | Type | Description | Notes
     8  ------------ | ------------- | ------------- | -------------
     9  **staging** | [**StagingLocation**](StagingLocation.md) |  | 
    10  **checksum** | **str** | unique identifier of object content on backing store (typically ETag) | 
    11  **size_bytes** | **int** |  | 
    12  **user_metadata** | **Dict[str, str]** |  | [optional] 
    13  **content_type** | **str** | Object media type | [optional] 
    14  **force** | **bool** |  | [optional] [default to False]
    15  
    16  ## Example
    17  
    18  ```python
    19  from lakefs_sdk.models.staging_metadata import StagingMetadata
    20  
    21  # TODO update the JSON string below
    22  json = "{}"
    23  # create an instance of StagingMetadata from a JSON string
    24  staging_metadata_instance = StagingMetadata.from_json(json)
    25  # print the JSON string representation of the object
    26  print StagingMetadata.to_json()
    27  
    28  # convert the object into a dict
    29  staging_metadata_dict = staging_metadata_instance.to_dict()
    30  # create an instance of StagingMetadata from a dict
    31  staging_metadata_form_dict = staging_metadata.from_dict(staging_metadata_dict)
    32  ```
    33  [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
    34  
    35