X-Git-Url: https://plomlompom.com/repos/berlin_corona.txt?a=blobdiff_plain;f=plomtask%2Fversioned_attributes.py;h=cbd1c8e348a9230b10176d55b4b6a490fe11ff33;hb=02aa60b59cea2c0401efd785f3bb5d06aec7bf4d;hp=b7e54e287f9844fe9cc910dcf53ac15cc1a8421e;hpb=db62e6559fdd577dae38d4b6f5cbd5ef6a14cc57;p=plomtask diff --git a/plomtask/versioned_attributes.py b/plomtask/versioned_attributes.py index b7e54e2..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_process_id': self.parent.id_, - 'table_name': self.table_name, - 'history': self.history} - return d - @property def _newest_timestamp(self) -> str: """Return most recent timestamp."""