We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 878cf6c + 04e5b5e commit 94ac2beCopy full SHA for 94ac2be
1 file changed
vetiver/rsconnect.py
@@ -53,9 +53,6 @@ def deploy_rsconnect(
53
image: str
54
Docker image to be specified for off-host execution
55
"""
56
- if board.fs.protocol == "rsc":
57
- raise NotImplementedError()
58
-
59
if not title:
60
title = pin_name + "_vetiver"
61
@@ -67,7 +64,11 @@ def deploy_rsconnect(
67
64
shutil.copyfile(file, os.path.join(temp, filename))
68
65
new_files = new_files + [os.path.join(temp, filename)]
69
66
extra_files = new_files
70
+
+ if board.fs.protocol == "file":
+ shutil.copytree(board.path_to_pin(pin_name), os.path.join(temp, pin_name))
71
72
tmp_app = temp + "/app.py"
73
74
write_app(
0 commit comments