Reorganize for classes to access each other

This commit is contained in:
Logan Cusano
2025-05-24 18:28:54 -04:00
parent 69b02b363e
commit 58a95fd501

View File

@@ -1,17 +1,6 @@
from typing import Optional, List, Dict, Any
from enum import Enum
class ActiveClient:
"""
The active client model in memory for quicker access
"""
websocket = None
active_token: DiscordId = None
def __init__(self, websocket= None, active_token:DiscordId=None):
self.active_token = active_token
self.websocket = websocket
class DemodTypes(str, Enum):
P25 = "P25"
DMR = "DMR"
@@ -189,3 +178,15 @@ class System:
tags=data.get("tags", None),
whitelist=data.get("whitelist", None)
)
class ActiveClient:
"""
The active client model in memory for quicker access
"""
websocket = None
active_token: DiscordId = None
def __init__(self, websocket= None, active_token:DiscordId=None):
self.active_token = active_token
self.websocket = websocket