ObjectCopyCreation
Properties
| Name |
Type |
Description |
Notes |
| src_path |
str |
path of the copied object relative to the ref |
|
| src_ref |
str |
a reference, if empty uses the provided branch as ref |
[optional] |
| force |
bool |
|
[optional] [default to False] |
| shallow |
bool |
Create a shallow copy of the object (without copying the actual data). At the moment shallow copy only works for same repository and branch. Please note that shallow copied objects might be in contention with garbage collection and branch retention policies - use with caution. |
[optional] [default to False] |
Example
from lakefs_sdk.models.object_copy_creation import ObjectCopyCreation
# TODO update the JSON string below
json = "{}"
# create an instance of ObjectCopyCreation from a JSON string
object_copy_creation_instance = ObjectCopyCreation.from_json(json)
# print the JSON string representation of the object
print ObjectCopyCreation.to_json()
# convert the object into a dict
object_copy_creation_dict = object_copy_creation_instance.to_dict()
# create an instance of ObjectCopyCreation from a dict
object_copy_creation_form_dict = object_copy_creation.from_dict(object_copy_creation_dict)
[Back to Model list] [Back to API list] [Back to README]