From b174166f2a742ae82e9fd9190d8ad08a200b40c2 Mon Sep 17 00:00:00 2001 From: nsde Date: Thu, 21 Sep 2023 07:32:43 +0200 Subject: [PATCH] Removed untested code --- api/db/stats.py | 2 ++ api/db/tester.py | 6 ++++++ 2 files changed, 8 insertions(+) create mode 100644 api/db/tester.py diff --git a/api/db/stats.py b/api/db/stats.py index c5ce07b..5f584a3 100644 --- a/api/db/stats.py +++ b/api/db/stats.py @@ -2,6 +2,8 @@ import os import pytz import asyncio import datetime +import json +import time from dotenv import load_dotenv from motor.motor_asyncio import AsyncIOMotorClient diff --git a/api/db/tester.py b/api/db/tester.py new file mode 100644 index 0000000..3048e37 --- /dev/null +++ b/api/db/tester.py @@ -0,0 +1,6 @@ +from stats import * +import asyncio + +manager = StatsManager() + +asyncio.run(manager.get_model_usage())