home · contact · privacy
Fix misguiding parent ID key name in VersionedAttributes.as_dict.
authorChristian Heller <c.heller@plomlompom.de>
Mon, 17 Jun 2024 12:14:03 +0000 (14:14 +0200)
committerChristian Heller <c.heller@plomlompom.de>
Mon, 17 Jun 2024 12:14:03 +0000 (14:14 +0200)
plomtask/versioned_attributes.py

index b7e54e287f9844fe9cc910dcf53ac15cc1a8421e..b04c56465a74e1c7626736a0b7bb85f3ef5b8962 100644 (file)
@@ -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