mirror of
https://github.com/sartography/spiff-arena.git
synced 2025-01-12 18:44:14 +00:00
fixed sqlalchemy warning w/ burnettk
This commit is contained in:
parent
2dc3b0a76e
commit
e7f0bbbce6
@ -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…
x
Reference in New Issue
Block a user