saw tests pass locally with this change

This commit is contained in:
burnettk 2022-09-29 11:04:23 -04:00
parent 6c0719747b
commit 6d81030b0f
1 changed files with 0 additions and 14 deletions

View File

@ -53,20 +53,6 @@ class NavigationItemSchema(Schema):
marshmallow.fields.Nested(lambda: NavigationItemSchema())
)
@marshmallow.post_load
def make_nav(self, data: dict[str, Any], **kwargs: dict) -> NavItem:
"""Make_nav."""
state = data.pop("state", None)
task_id = data.pop("task_id", None)
children = data.pop("children", [])
spec_type = data.pop("spec_type", None)
item = NavItem(**data)
item.state = state
item.task_id = task_id
item.children = children
item.spec_type = spec_type
return item
class ProcessInstanceStatus(SpiffEnum):
"""ProcessInstanceStatus."""