home
·
contact
·
privacy
projects
/
plomtask
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Refactor BaseModel.from_table_row testing.
[plomtask]
/
plomtask
/
versioned_attributes.py
diff --git
a/plomtask/versioned_attributes.py
b/plomtask/versioned_attributes.py
index cc42bbc40f761c35715f11b0ca4f61ba67dbe579..cbd1c8e348a9230b10176d55b4b6a490fe11ff33 100644
(file)
--- a/
plomtask/versioned_attributes.py
+++ b/
plomtask/versioned_attributes.py
@@
-25,12
+25,6
@@
class VersionedAttribute:
history_tuples)
return hash(hashable)
history_tuples)
return hash(hashable)
- @property
- def as_dict(self) -> dict[str, object]:
- """Return self as (json.dumps-coompatible) dict."""
- d = {'parent_id': self.parent.id_, 'history': self.history}
- return d
-
@property
def _newest_timestamp(self) -> str:
"""Return most recent timestamp."""
@property
def _newest_timestamp(self) -> str:
"""Return most recent timestamp."""