def sign_request(self, signature_method, consumer, token):

        if 'oauth_consumer_key' not in self:
            self['oauth_consumer_key'] = consumer.key

        if token and 'oauth_token' not in self:
            self['oauth_token'] = token.key

        self['oauth_signature_method'] = signature_method.name
        self['oauth_signature'] = signature_method.sign(self, consumer, token)
Returns True if the input is related to Hacker News.
dataset/ETHPy150Open mrgaaron/LinkedIn-Client-Library/liclient/oauth2/__init__.py/Request.sign_request--crossover with--dataset/ETHPy150Open jasperproject/jasper-client/client/modules/HN.py/isValid