Fix failing examples (#478)

This commit is contained in:
Jonathon Belotti
2023-10-26 12:10:27 -04:00
committed by GitHub
parent 8f6cd0fb58
commit 8a473b005f
2 changed files with 4 additions and 1 deletions

View File

@@ -36,7 +36,7 @@ stub = modal.Stub(
"example-fetch-stock-prices",
image=modal.Image.debian_slim().pip_install(
"httpx~=0.24.0",
"yfinance~=0.2.18",
"yfinance~=0.2.31",
"beautifulsoup4~=4.12.2",
"matplotlib~=3.7.1",
),

View File

@@ -1,3 +1,6 @@
# ---
# cmd: ["modal", "serve", "07_web_endpoints/basic_web.py"]
# ---
import modal
from modal import web_endpoint