Merge branch 'staging' into state-machine-unit-tests
This commit is contained in:
@@ -66,12 +66,14 @@ class CLIN(Base, mixins.TimestampsMixin):
|
||||
)
|
||||
|
||||
def to_dictionary(self):
|
||||
return {
|
||||
data = {
|
||||
c.name: getattr(self, c.name)
|
||||
for c in self.__table__.columns
|
||||
if c.name not in ["id"]
|
||||
}
|
||||
|
||||
return data
|
||||
|
||||
@property
|
||||
def is_active(self):
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user