From ae757881abfe760e8a942a4d2f0667dd7fa0ac4b Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Mon, 17 Jun 2024 14:14:03 +0200 Subject: [PATCH] Fix misguiding parent ID key name in VersionedAttributes.as_dict. --- plomtask/versioned_attributes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plomtask/versioned_attributes.py b/plomtask/versioned_attributes.py index b7e54e2..b04c564 100644 --- a/plomtask/versioned_attributes.py +++ b/plomtask/versioned_attributes.py @@ -28,7 +28,7 @@ class VersionedAttribute: @property def as_dict(self) -> dict[str, object]: """Return self as (json.dumps-coompatible) dict.""" - d = {'parent_process_id': self.parent.id_, + d = {'parent_id': self.parent.id_, 'table_name': self.table_name, 'history': self.history} return d -- 2.30.2