galileo_sdk.sdk.stations.StationsSdk.add_host_path_to_volume

StationsSdk.add_host_path_to_volume(station_id, volume_id, lz_id, host_path)[source]

Add host path to volume before running a job Host path is where the landing zone will store the results of a job

Parameters
  • station_id – str

  • volume_id – tr

  • lz_id – str: landing zone id

  • host_path – str: directory path for landing zone

Returns

Volume

Example:
>>> station_id = "my-station-id"
>>> volume_id = "my-volume-id"
>>> lz_id = "my-lz-id"
>>> host_path = "/mnt/my-lz-path"
>>> updated_volume = galileo.stations.add_host_path_to_volume(station_id, volume_id, lz_id, host_path)
>>> print(updated_volume.host_paths)