feat: Add draft hash check in workflow (#4251)

This commit is contained in:
takatost
2024-05-10 14:48:29 +08:00
committed by GitHub
parent a1ab87107b
commit 8f3042e5b3
7 changed files with 53 additions and 8 deletions

View File

@@ -7,6 +7,7 @@ workflow_fields = {
'id': fields.String,
'graph': fields.Raw(attribute='graph_dict'),
'features': fields.Raw(attribute='features_dict'),
'hash': fields.String(attribute='unique_hash'),
'created_by': fields.Nested(simple_account_fields, attribute='created_by_account'),
'created_at': TimestampField,
'updated_by': fields.Nested(simple_account_fields, attribute='updated_by_account', allow_null=True),