move const to top

This commit is contained in:
Corban-Lee Jones 2024-07-09 23:30:56 +01:00
parent 9e23acf966
commit e1eb0dc8e8

View File

@ -18,6 +18,8 @@ from textwrap import shorten
from mutators import registry as mutator_registry
from api import API
DATETIME_FORMAT = "%Y-%m-%dT%H:%M:%S.%fZ"
log = logging.getLogger(__name__)
dumps = lambda _dict: json.dumps(_dict, indent=8)
@ -248,9 +250,6 @@ class RSSFeed:
return feed
DATETIME_FORMAT = "%Y-%m-%dT%H:%M:%S.%fZ"
@dataclass
class DjangoDataModel(ABC):