We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8d1659b commit 6bbe230Copy full SHA for 6bbe230
1 file changed
vetiver/rsconnect.py
@@ -3,6 +3,7 @@
3
from rsconnect.actions import deploy_python_fastapi
4
import shutil
5
import os
6
+import subprocess
7
8
from .write_fastapi import write_app
9
@@ -98,6 +99,9 @@ def deploy_rsconnect(
98
99
overwrite=False,
100
)
101
102
+ with open(temp + "requirements.txt", "w") as file_:
103
+ subprocess.call(["pip", "freeze"], stdout=file_)
104
+
105
deploy_python_fastapi(
106
connect_server=connect_server,
107
directory=temp,
0 commit comments