@classmethod<EOL><INDENT>def create_invite(cls, client, email, person=None, permissions='<STR_LIT>'):<DEDENT>
if person is None:<EOL><INDENT>person = cls.create_person(client, full_name='<STR_LIT>')<EOL><DEDENT>url = reverse('<STR_LIT>')<EOL>data = {<EOL>'<STR_LIT:email>': email,<EOL>'<STR_LIT>': permissions,<EOL>'<STR_LIT>': person.data['<STR_LIT:id>']<EOL>}<EOL>return client.post(url, data, format='<STR_LIT>')<EOL>
Create dummy invite instance