clean code

This commit is contained in:
MuslemRahimi 2024-07-26 10:17:14 +02:00
parent 20c2a7d1bf
commit c4889bc081

View File

@ -1216,7 +1216,6 @@ async def stock_finder(data:StockScreenerData, api_key: str = Security(get_api_k
cache_key = f"stock-screener-data-{rule_of_list}"
cached_result = redis_client.get(cache_key)
if cached_result:
print('cached')
return StreamingResponse(
io.BytesIO(cached_result),
media_type="application/json",