def get_startup_roles(self, user_id=None, startup_id=None, role=None, direction='<STR_LIT>'):
if user_id is None and startup_id is None:<EOL><INDENT>raise Exception("<STR_LIT>")<EOL><DEDENT>url = _STARTUP_R.format(c_api=_C_API_BEGINNING,<EOL>api=_API_VERSION,<EOL>at=self.access_token)<EOL>if user_id is not None:<EOL><INDENT>url += '<STR_LIT>' + str(user_id)<EOL><DEDENT>if startup_id is not None:<EOL><INDENT>url += '<STR_LIT>' + str(startup_id)<EOL><DEDENT>if role is not None:<EOL><INDENT>url += '<STR_LIT>' + role<EOL><DEDENT>url += '<STR_LIT>' + direction<EOL>return _get_request(url)<EOL>
user_id ->The user role you want to view
startup_id -> The startup whose roles you want to view
role -> The specific role, you'd like to filter ('founder', 'past investor', 'advisor')
direction ->Either incoming or outgoing