code: def from_xdr_object(cls, tx_xdr_object):
          
          source = encode_check('account', tx_xdr_object.sourceAccount.ed25519)
          sequence = tx_xdr_object.seqNum - 1
          time_bounds_in_xdr = tx_xdr_object.timeBounds  # TODO test
          if time_bounds_in_xdr:
              time_bounds = {
                  'maxTime': time_bounds_in_xdr[0].maxTime,
                  'minTime': time_bounds_in_xdr[0].minTime
              }
          else:
              time_bounds = None
  
          memo = xdr_to_memo(tx_xdr_object.memo)
  
          operations = list(map(
              Operation.from_xdr_object, tx_xdr_object.operations
          ))
          return cls(
              source=source,
              sequence=sequence,
              time_bounds=time_bounds,
              memo=memo,
              fee=tx_xdr_object.fee,
              operations=operations)
docs: Create a :class:`Transaction` object from a Transaction XDR
          object.