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.
2 parents b533875 + 8b6cb61 commit 1013d92Copy full SHA for 1013d92
vetiver/write_fastapi.py
@@ -17,7 +17,7 @@ def _choose_version(df: pd.DataFrame):
17
version_desc = df.sort_values(by="created", ascending=False)
18
version = version_desc.version[0]
19
else:
20
- version = df.version[0]
+ version = df.version.max()
21
warnings.warn(
22
f"""Pinned vetiver model has no active version and no datetime on versions,
23
Do you need to check your pinned model?
0 commit comments