def get_network_update(self, types, update_key,
                           self_scope=True, params=None, headers=None):
        url = (ENDPOINTS.PEOPLE, str(update_key)) % '%s/~/network/updates/key=%s'

        if not params:
            params = {}

        if types:
            params.update({'type': types})

        if self_scope is True:
            params.update({'scope': 'self'})

        response = self.make_request('GET', url, params=params, headers=headers)
        raise_for_error(response)
        return response.json()
dataset/ETHPy150Open ozgur/python-linkedin/linkedin/linkedin.py/LinkedInApplication.get_network_update/swapped operands of `%`