Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions vetiver/rsconnect.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,6 @@ def deploy_rsconnect(
image: str
Docker image to be specified for off-host execution
"""
if board.fs.protocol == "rsc":
raise NotImplementedError()

if not title:
title = pin_name + "_vetiver"

Expand All @@ -67,7 +64,11 @@ def deploy_rsconnect(
shutil.copyfile(file, os.path.join(temp, filename))
new_files = new_files + [os.path.join(temp, filename)]
extra_files = new_files


if board.fs.protocol == "file":
shutil.copytree(board.path_to_pin(pin_name), os.path.join(temp, pin_name))


tmp_app = temp + "/app.py"

write_app(
Expand Down