Skip to content

Commit 6996dad

Browse files
authored
fix: add read write mount on input dirs (#37526)
The web azure portal allows to mount input as read write, but the SDK limits to only read only. I've tested this patch locally and it matches azure portal behaviour.
1 parent d702ac7 commit 6996dad

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sdk/ml/azure-ai-ml/azure/ai/ml/entities/_job/_input_output_helpers.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343

4444
INPUT_MOUNT_MAPPING_TO_REST = {
4545
InputOutputModes.MOUNT: InputDeliveryMode.READ_ONLY_MOUNT,
46+
InputOutputModes.RW_MOUNT: InputDeliveryMode.READ_WRITE_MOUNT,
4647
InputOutputModes.RO_MOUNT: InputDeliveryMode.READ_ONLY_MOUNT,
4748
InputOutputModes.DOWNLOAD: InputDeliveryMode.DOWNLOAD,
4849
InputOutputModes.EVAL_MOUNT: InputDeliveryMode.EVAL_MOUNT,

0 commit comments

Comments
 (0)