fix: a bunch of deprecated API usages (#420)

This commit is contained in:
Jonathon Belotti
2023-08-26 12:30:09 -04:00
committed by GitHub
parent aae2fc4ad6
commit 7d32e54f6b
10 changed files with 11 additions and 11 deletions

View File

@@ -103,7 +103,7 @@ def plot_stocks():
fig, ax = pyplot.subplots(figsize=(8, 5))
# Get data
tickers = list(get_stocks.remote())
tickers = list(get_stocks.remote_gen())
if not tickers:
raise RuntimeError("Retrieved zero stock tickers!")
data = list(get_prices.map(tickers))