github.com/treeverse/lakefs@v1.24.1-0.20240520134607-95648127bfb0/clients/python/docs/Repository.md (about) 1 # Repository 2 3 4 ## Properties 5 6 Name | Type | Description | Notes 7 ------------ | ------------- | ------------- | ------------- 8 **id** | **str** | | 9 **creation_date** | **int** | Unix Epoch in seconds | 10 **default_branch** | **str** | | 11 **storage_namespace** | **str** | Filesystem URI to store the underlying data in (e.g. \"s3://my-bucket/some/path/\") | 12 **read_only** | **bool** | Whether the repository is a read-only repository- not relevant for bare repositories | [optional] 13 14 ## Example 15 16 ```python 17 from lakefs_sdk.models.repository import Repository 18 19 # TODO update the JSON string below 20 json = "{}" 21 # create an instance of Repository from a JSON string 22 repository_instance = Repository.from_json(json) 23 # print the JSON string representation of the object 24 print Repository.to_json() 25 26 # convert the object into a dict 27 repository_dict = repository_instance.to_dict() 28 # create an instance of Repository from a dict 29 repository_form_dict = repository.from_dict(repository_dict) 30 ``` 31 [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 32 33