X-Git-Url: https://plomlompom.com/repos//%22https:/validator.w3.org/check?a=blobdiff_plain;f=plomtask%2Fversioned_attributes.py;h=cbd1c8e348a9230b10176d55b4b6a490fe11ff33;hb=9c62e1b0e5c30ed3fd7a49828749db195bc3e557;hp=b04c56465a74e1c7626736a0b7bb85f3ef5b8962;hpb=ae757881abfe760e8a942a4d2f0667dd7fa0ac4b;p=plomtask diff --git a/plomtask/versioned_attributes.py b/plomtask/versioned_attributes.py index b04c564..cbd1c8e 100644 --- a/plomtask/versioned_attributes.py +++ b/plomtask/versioned_attributes.py @@ -25,14 +25,6 @@ class VersionedAttribute: 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_, - 'table_name': self.table_name, - 'history': self.history} - return d - @property def _newest_timestamp(self) -> str: """Return most recent timestamp."""