We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0774b1a commit dd4b52cCopy full SHA for dd4b52c
mlflow_stagein.py
@@ -55,6 +55,7 @@ def copy_model(connection_id, **context):
55
if file_exist(sftp=sftp_client, name=target_name):
56
print(target_name," exists. Overwritting.")
57
58
+ sftp_client.exec_command(command=f"touch {target_name}")
59
with sftp_client.open(target_name, "wb") as tr:
60
tr.set_pipelined(pipelined=True)
61
copy_streams(inp=sr, outp=tr)
0 commit comments