You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to get the datastore path e.g. datastores/storepath/paths/shares/...
instead of pathOnCompute from my inputDataSet. What API should I use?
I tried the following but none of them work:
paths = input_dataset.to_path() //the to_path() only get the file name list, it doesn't contain the path
get_details() only contains pathOnCompute as well
Thanks for your input
The text was updated successfully, but these errors were encountered:
jfan0214
changed the title
How to get datastore path from input dataset instead of pathOnCompute(mount path)
How to get path on datastore from input dataset instead of pathOnCompute(mount path)
Jun 22, 2024
you can use as_download or as_mount
path = input_dataset.to_path(workspace, name='your_dataset_name_xyz')
path = input_dataset.as_mount()
mount_context.start()
I would like to get the datastore path e.g. datastores/storepath/paths/shares/...
instead of pathOnCompute from my inputDataSet. What API should I use?
I tried the following but none of them work:
paths = input_dataset.to_path() //the to_path() only get the file name list, it doesn't contain the path
get_details() only contains pathOnCompute as well
Thanks for your input
The text was updated successfully, but these errors were encountered: