code: def to_xdr_object(self):
          
          try:
              source_account = [account_xdr_object(self.source)]
          except StellarAddressInvalidError:
              source_account = []
          return Xdr.types.Operation(source_account, self.body)
docs: Creates an XDR Operation object that represents this
          :class:`Operation`.