iota/transaction/creation.py
def tag(self):
        # type: () -> Tag
        """
        Determines the most relevant tag for the bundle.
        """
        for txn in reversed(self):  # type: ProposedTransaction
            if txn.tag:
                return txn.tag

        return Tag(b'')
def tag(self):
        # type: () -> Tag
        for txn in reversed(self):  # type: ProposedTransaction
            if txn.tag:
                return txn.tag

        return Tag(b'')
def tag ( self ) : # type: () -> Tag for txn in reversed ( self ) : # type: ProposedTransaction if txn . tag : return txn . tag return Tag ( b'' )
Determines the most relevant tag for the bundle.
Determines the most relevant tag for the bundle .