Implemented bulk upload by passing a json structure. Added delete all channels, groups and priorities
All checks were successful
AWS Deploy on Push / build (push) Successful in 2m17s

This commit is contained in:
2025-06-12 18:49:20 -05:00
parent b8ac25e301
commit abb467749b
11 changed files with 630 additions and 11 deletions

View File

@@ -1,4 +1,4 @@
from .db import Base, ChannelDB, ChannelURL, Group
from .db import Base, ChannelDB, ChannelURL, Group, Priority
from .schemas import (
ChannelCreate,
ChannelResponse,
@@ -20,6 +20,7 @@ __all__ = [
"ChannelURLCreate",
"ChannelURLResponse",
"Group",
"Priority",
"GroupCreate",
"GroupResponse",
"GroupUpdate",

View File

@@ -39,6 +39,8 @@ class SQLiteUUID(TypeDecorator):
def process_result_value(self, value, dialect):
if value is None:
return value
if isinstance(value, uuid.UUID):
return value
return uuid.UUID(value)
def compare_values(self, x, y):