feat(auth_check.py): support using redis cache for team objects

Allows team update / check logic to work across instances instantly
This commit is contained in:
Krrish Dholakia 2024-07-24 18:14:49 -07:00
parent 254b6dc630
commit 487035c970
5 changed files with 92 additions and 5 deletions

View file

@ -862,7 +862,7 @@ class PrismaClient:
)
"""
)
if ret[0]['sum'] == 6:
if ret[0]["sum"] == 6:
print("All necessary views exist!") # noqa
return
except Exception: