fixed sqlalchemy warning w/ burnettk
This commit is contained in:
parent
ba893eda4f
commit
f3d3c31dd5
|
@ -39,7 +39,9 @@ class ProcessInstanceEventModel(SpiffworkflowBaseDBModel):
|
|||
|
||||
user_id = db.Column(ForeignKey(UserModel.id), nullable=True, index=True) # type: ignore
|
||||
|
||||
error_details = relationship("ProcessInstanceErrorDetailModel", cascade="delete") # type: ignore
|
||||
error_details = relationship(
|
||||
"ProcessInstanceErrorDetailModel", back_populates="process_instance_event", cascade="delete"
|
||||
) # type: ignore
|
||||
|
||||
@validates("event_type")
|
||||
def validate_event_type(self, key: str, value: Any) -> Any:
|
||||
|
|
Loading…
Reference in New Issue