X-Git-Url: https://plomlompom.com/repos/%7B%7B%20web_path%20%7D%7D/decks/%7B%7Bdeck_id%7D%7D/cards/%7B%7B%20card_id%20%7D%7D/delete?a=blobdiff_plain;f=plomtask%2Fversioned_attributes.py;h=cbd1c8e348a9230b10176d55b4b6a490fe11ff33;hb=aa0f1ff1b3ccb57a1c3c2772fc6a172643cdab73;hp=cc42bbc40f761c35715f11b0ca4f61ba67dbe579;hpb=84ff28d055b785e5f205f942c68ece72136e5af1;p=plomtask diff --git a/plomtask/versioned_attributes.py b/plomtask/versioned_attributes.py index cc42bbc..cbd1c8e 100644 --- a/plomtask/versioned_attributes.py +++ b/plomtask/versioned_attributes.py @@ -25,12 +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_, 'history': self.history} - return d - @property def _newest_timestamp(self) -> str: """Return most recent timestamp."""