original_docstring: Return the transaction signing key, the SCPayload timestamp, the
      appropriate SCPayload action attribute, and the appropriate
      handler function (with the latter two determined by the constant
      TYPE_TO_ACTION_HANDLER table.
      
docstring: Return the transaction signing key, the SCPayload timestamp, the
  appropriate SCPayload action attribute, and the appropriate
  handler function (with the latter two determined by the constant
  TYPE_TO_ACTION_HANDLER table.
docstring_tokens: Return the transaction signing key the SCPayload timestamp the appropriate SCPayload action attribute and the appropriate handler function ( with the latter two determined by the constant TYPE_TO_ACTION_HANDLER table .
code: def _unpack_transaction(transaction):
      '''Return the transaction signing key, the SCPayload timestamp, the
      appropriate SCPayload action attribute, and the appropriate
      handler function (with the latter two determined by the constant
      TYPE_TO_ACTION_HANDLER table.
      '''
      signer = transaction.header.signer_public_key
  
      payload = SCPayload()
      payload.ParseFromString(transaction.payload)
  
      action = payload.action
      timestamp = payload.timestamp
  
      try:
          attribute, handler = TYPE_TO_ACTION_HANDLER[action]
      except KeyError:
          raise Exception('Specified action is invalid')
  
      payload = getattr(payload, attribute)
  
      return signer, timestamp, payload, handler
code_tokens: def _unpack_transaction ( transaction ) : signer = transaction . header . signer_public_key payload = SCPayload ( ) payload . ParseFromString ( transaction . payload ) action = payload . action timestamp = payload . timestamp try : attribute , handler = TYPE_TO_ACTION_HANDLER [ action ] except KeyError : raise Exception ( 'Specified action is invalid' ) payload = getattr ( payload , attribute ) return signer , timestamp , payload , handler
short_docstring: Return the transaction signing key, the SCPayload timestamp, the
  appropriate SCPayload action attribute, and the appropriate
  handler function (with the latter two determined by the constant
  TYPE_TO_ACTION_HANDLER table.
short_docstring_tokens: Return the transaction signing key the SCPayload timestamp the appropriate SCPayload action attribute and the appropriate handler function ( with the latter two determined by the constant TYPE_TO_ACTION_HANDLER table .
comment: '''Return the transaction signing key, the SCPayload timestamp, the
      appropriate SCPayload action attribute, and the appropriate
      handler function (with the latter two determined by the constant
      TYPE_TO_ACTION_HANDLER table.
      '''