events are updated
This commit is contained in:
@@ -198,7 +198,7 @@ class CrudMixin(Base, SmartQueryMixin, SessionMixin, FilterAttributes):
|
||||
for record in self.__class__.__dict__
|
||||
if "_" not in record[0] and "id" not in record[-2:]
|
||||
]
|
||||
include_joins = include_joins or []
|
||||
|
||||
for all_argument in all_arguments:
|
||||
column = getattr(self.__class__, all_argument)
|
||||
is_populate = isinstance(column, InstrumentedAttribute) and not hasattr(
|
||||
|
||||
@@ -20,7 +20,7 @@ class FilterAttributes:
|
||||
|
||||
pre_query = None # The query to use before the filtering such as: query = cls.query.filter_by(active=True)
|
||||
filter_attr = None # The filter attributes to use in the model.
|
||||
FilterModel: ListOptions = ListOptions
|
||||
FilterModel = ListOptions
|
||||
|
||||
def flush(self):
|
||||
"""Flush the current session."""
|
||||
|
||||
Reference in New Issue
Block a user