home
·
contact
·
privacy
projects
/
plomtask
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
db62e65
)
Fix misguiding parent ID key name in VersionedAttributes.as_dict.
author
Christian Heller
<c.heller@plomlompom.de>
Mon, 17 Jun 2024 12:14:03 +0000
(14:14 +0200)
committer
Christian Heller
<c.heller@plomlompom.de>
Mon, 17 Jun 2024 12:14:03 +0000
(14:14 +0200)
plomtask/versioned_attributes.py
patch
|
blob
|
history
diff --git
a/plomtask/versioned_attributes.py
b/plomtask/versioned_attributes.py
index b7e54e287f9844fe9cc910dcf53ac15cc1a8421e..b04c56465a74e1c7626736a0b7bb85f3ef5b8962 100644
(file)
--- 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."""
@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
'table_name': self.table_name,
'history': self.history}
return d