From: Christian Heller Date: Mon, 17 Jun 2024 12:14:03 +0000 (+0200) Subject: Fix misguiding parent ID key name in VersionedAttributes.as_dict. X-Git-Url: https://plomlompom.com/repos/%7B%7Bprefix%7D%7D/ledger2?a=commitdiff_plain;h=ae757881abfe760e8a942a4d2f0667dd7fa0ac4b;p=plomtask Fix misguiding parent ID key name in VersionedAttributes.as_dict. --- 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