We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ffadf81 commit 859748aCopy full SHA for 859748a
setup.cfg
@@ -32,10 +32,12 @@ install_requires =
32
requests
33
pins>=0.7.1
34
rsconnect-python>=1.11.0
35
+ python-dotenv
36
plotly
37
pip-tools
38
httpx
39
40
+
41
[options.extras_require]
42
all =
43
vetiver[dev]
vetiver/write_fastapi.py
@@ -104,7 +104,9 @@ def write_app(
104
f = open(file, "x")
105
106
app = f"""from vetiver import VetiverModel
107
+from dotenv import load_dotenv, find_dotenv
108
{_glue_required_pkgs(infra_pkgs)}
109
+load_dotenv(find_dotenv())
110
111
b = pins.{load_board}
112
{pin_read}
0 commit comments