refactor(SQL): Staging tables and Calc stored procedures used for modular stored procedure archicture for scalability. Implemented for Product Catalogue. \n BREAKING CHANGE: BIT argument a_debug added to all but basic stored procedures for analysis of performance and results.
This commit is contained in:
@@ -23,20 +23,25 @@ from sqlalchemy.ext.declarative import DeclarativeMeta
|
||||
|
||||
|
||||
class Get_Many_Parameters_Base(BaseModel, metaclass=ABCMeta):
|
||||
def __init__(self, **kwargs):
|
||||
super().__init__(**kwargs)
|
||||
a_id_user: int
|
||||
def __init__(self, a_id_user, **kwargs):
|
||||
super().__init__(a_id_user=a_id_user, **kwargs)
|
||||
@classmethod
|
||||
@abstractmethod
|
||||
def get_default(cls):
|
||||
def get_default(cls, id_user):
|
||||
pass
|
||||
"""
|
||||
@abstractmethod
|
||||
def to_json(self):
|
||||
pass
|
||||
"""
|
||||
"""
|
||||
@classmethod
|
||||
@abstractmethod
|
||||
def from_json(cls, json):
|
||||
pass
|
||||
"""
|
||||
"""
|
||||
@classmethod
|
||||
@abstractmethod
|
||||
def from_form(cls, form):
|
||||
|
||||
Reference in New Issue
Block a user