code: def get(self, public_key, spent=None, headers=None):
          
          return self.transport.forward_request(
              method='GET',
              path=self.path,
              params={'public_key': public_key, 'spent': spent},
              headers=headers,
          )
docs: Get transaction outputs by public key. The public_key parameter
          must be a base58 encoded ed25519 public key associated with
          transaction output ownership.
  
          Args:
              public_key (str): Public key for which unfulfilled
                  conditions are sought.
              spent (bool): Indicate if the result set should include only spent
                  or only unspent outputs. If not specified (``None``) the
                  result includes all the outputs (both spent and unspent)
                  associated with the public key.
              headers (dict): Optional headers to pass to the request.
  
          Returns:
              :obj:`list` of :obj:`str`: List of unfulfilled conditions.
  
          Example:
              Given a transaction with `id` ``da1b64a907ba54`` having an
              `ed25519` condition (at index ``0``) with alice's public
              key::
  
                  >>> bdb = BigchainDB()
                  >>> bdb.outputs.get(alice_pubkey)
                  ... ['../transactions/da1b64a907ba54/conditions/0']