resdb_driver/transaction.py [256:266]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        except TypeError:
            return cls()

    def to_dict(self):
        """! Transforms the object to a Python dictionary.
            @return The link as an alternative serialization format.
        """
        if self.txid is None and self.output is None:
            return None
        else:
            return {
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



service/sdk_validator/resdb_validator/transaction.py [277:289]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        except TypeError:
            return cls()

    def to_dict(self):
        """Transforms the object to a Python dictionary.

            Returns:
                (dict|None): The link as an alternative serialization format.
        """
        if self.txid is None and self.output is None:
            return None
        else:
            return {
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



