Fix: Login.
This commit is contained in:
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user