From a004dd233ab51f9360908b12b06c068d589624f1 Mon Sep 17 00:00:00 2001 From: Conrad Date: Mon, 1 Apr 2024 18:06:30 +0200 Subject: [PATCH] Added groupmode const --- creyPY/const/groups.py | 10 ++++++++++ creyPY/fastapi/__init__.py | 0 2 files changed, 10 insertions(+) create mode 100644 creyPY/const/groups.py create mode 100644 creyPY/fastapi/__init__.py diff --git a/creyPY/const/groups.py b/creyPY/const/groups.py new file mode 100644 index 0000000..e58e8b1 --- /dev/null +++ b/creyPY/const/groups.py @@ -0,0 +1,10 @@ +import enum + + +class GroupMode(str, enum.Enum): + Minute = "1m" + Hour = "1h" + Day = "1d" + Week = "7d" + Month = "1mo" + Year = "1y" diff --git a/creyPY/fastapi/__init__.py b/creyPY/fastapi/__init__.py new file mode 100644 index 0000000..e69de29