diff --git a/aries_cloudagent/protocols/coordinate_mediation/mediation_invite_store.py b/aries_cloudagent/protocols/coordinate_mediation/mediation_invite_store.py index d40c58602b..8125bdc94f 100644 --- a/aries_cloudagent/protocols/coordinate_mediation/mediation_invite_store.py +++ b/aries_cloudagent/protocols/coordinate_mediation/mediation_invite_store.py @@ -5,17 +5,15 @@ Enables having the mediation invite config be the same for `provision` and `starting` commands. """ -import dataclasses import json -from typing import Optional +from typing import NamedTuple, Optional from aries_cloudagent.storage.base import BaseStorage from aries_cloudagent.storage.error import StorageNotFoundError from aries_cloudagent.storage.record import StorageRecord -@dataclasses.dataclass -class MediationInviteRecord: +class MediationInviteRecord(NamedTuple): """A record to store mediation invites and their freshness.""" invite: str