def post_process_create(self, result):
        """
        An example of the ``post_process`` extensions, this returns an instance
        of the ``Resource`` created (rather than just a bag of data).

        :param result: The full data handed back from the API.
        :type result: dict

        :returns: A ``Resource`` subclass
        """
        # We need to possibly drill into the response & get out the data here.
        # Check for a result key.
        result_key = self._details.result_key_for('create')

        if not result_key:
            return self.build_resource(result)

        return self.build_resource(result[result_key])
def post_process_create ( self , result ) : result_key = self . _details . result_key_for ( 'create' ) if not result_key : return self . build_resource ( result ) return self . build_resource ( result [ result_key ] )
An example of the ``post_process`` extensions, this returns an instance
        of the ``Resource`` created (rather than just a bag of data).

        :param result: The full data handed back from the API.
        :type result: dict

        :returns: A ``Resource`` subclass