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
|
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")
|
@validates("event_type")
|
||||||
def validate_event_type(self, key: str, value: Any) -> Any:
|
def validate_event_type(self, key: str, value: Any) -> Any:
|
||||||
|
|
Loading…
Reference in New Issue