def get_permissions(self, user_id):
response = self.request(<EOL>"<STR_LIT>".format(self.version, user_id), {}<EOL>)["<STR_LIT:data>"]<EOL>return {x["<STR_LIT>"] for x in response if x["<STR_LIT:status>"] == "<STR_LIT>"}<EOL>
Fetches the permissions object from the graph.