You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@app.get("/weather/{device}", tags=["Weather Devices"])
async def weatherdevice(device):
# search in the array the object that contains id == device and return it
return ---
Is it possible to in that function, get the data cached on /weatherendpoint?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi, I have one endpoints
that cache all "
weatherdevices
"and another to select on device
Is it possible to in that function, get the data cached on
/weather
endpoint?Beta Was this translation helpful? Give feedback.
All reactions