def success(message, **kwargs):
    kwargs["fg"] = kwargs.get("fg", "green")
    click.secho(message, **kwargs)
def __init__(self):
        super(TransactionStates, self).__init__()
        self._states = defaultdict(TransactionState)