View on GitHub

lakeFS

lakeFS - Data version control for your data lake | Git for data

ImportLocation

Properties

Name Type Description Notes
type str Path type, can either be 'common_prefix' or 'object'  
path str A source location to a 'common_prefix' or to a single object. Must match the lakeFS installation blockstore type.  
destination str Destination for the imported objects on the branch. Must be a relative path to the branch. If the type is an 'object', the destination is the exact object name under the branch. If the type is a 'common_prefix', the destination is the prefix under the branch.  

Example

from lakefs_sdk.models.import_location import ImportLocation

# TODO update the JSON string below
json = "{}"
# create an instance of ImportLocation from a JSON string
import_location_instance = ImportLocation.from_json(json)
# print the JSON string representation of the object
print ImportLocation.to_json()

# convert the object into a dict
import_location_dict = import_location_instance.to_dict()
# create an instance of ImportLocation from a dict
import_location_form_dict = import_location.from_dict(import_location_dict)

[Back to Model list] [Back to API list] [Back to README]