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

     1  # CurrentUser
     2  
     3  
     4  ## Properties
     5  
     6  Name | Type | Description | Notes
     7  ------------ | ------------- | ------------- | -------------
     8  **user** | [**User**](User.md) |  | 
     9  
    10  ## Example
    11  
    12  ```python
    13  from lakefs_sdk.models.current_user import CurrentUser
    14  
    15  # TODO update the JSON string below
    16  json = "{}"
    17  # create an instance of CurrentUser from a JSON string
    18  current_user_instance = CurrentUser.from_json(json)
    19  # print the JSON string representation of the object
    20  print CurrentUser.to_json()
    21  
    22  # convert the object into a dict
    23  current_user_dict = current_user_instance.to_dict()
    24  # create an instance of CurrentUser from a dict
    25  current_user_form_dict = current_user.from_dict(current_user_dict)
    26  ```
    27  [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
    28  
    29