Fix: Login.

This commit is contained in:
2026-03-15 19:52:21 +00:00
parent e8e9a02e7b
commit 97dccafc05
80 changed files with 1475 additions and 536 deletions

View File

@@ -1,7 +1,7 @@
"""
Project: PARTS Website
Project: Magic Tracker
Author: Edward Middleton-Smith
Precision And Research Technology Systems Limited
Shuffle & Skirmish
Technology: Business Objects
Feature: SQL Error Business Object
@@ -23,6 +23,7 @@ from datetime import datetime, timedelta
import locale
from flask_sqlalchemy import SQLAlchemy
from sqlalchemy import Uuid
from sqlalchemy.types import Integer
from typing import ClassVar
# db = SQLAlchemy()
@@ -126,22 +127,22 @@ class Parameters_SQL_Error(Get_Many_Parameters_Base):
@classmethod
def get_default(cls, guid):
return cls(
guid = guid
guid = guid
)
@classmethod
def from_json(cls, json):
return cls(
guid = json.get('a_guid', None)
guid = json.get('a_guid', None)
)
def to_json(self):
return {
'a_guid': self.guid
'a_guid': self.guid
}
@staticmethod
def get_type_hints():
return {
'a_guid': Uuid
'a_guid': Uuid
}