Apply suggestions

This commit is contained in:
Duc Trung LE
2023-07-04 15:13:40 +02:00
parent 9034de28f9
commit aa754a1a2c
3 changed files with 12 additions and 7 deletions

View File

@@ -490,6 +490,7 @@ class Service(Base):
returns `False` otherwise.
"""
if self._check_data_only_column(column_name):
print('NOT ForeignKey', column_name)
setattr(self, column_name, value)
return True
else: