def __init__(<EOL>self,<EOL>enterprise_customer=None,<EOL>username='<STR_LIT>',<EOL>course_id='<STR_LIT>',<EOL>program_uuid='<STR_LIT>',<EOL>granted=False,<EOL>exists=False,<EOL>child_consents=None,<EOL>**kwargs<EOL>):
ec_keys = {}<EOL>for key in kwargs:<EOL><INDENT>if str(key).startswith('<STR_LIT>'):<EOL><INDENT>enterprise_customer_detail = key[len('<STR_LIT>'):]<EOL>ec_keys[enterprise_customer_detail] = kwargs[key]<EOL><DEDENT><DEDENT>if ec_keys:<EOL><INDENT>enterprise_customer = EnterpriseCustomer.objects.get(**ec_keys)  <EOL><DEDENT>self.enterprise_customer = enterprise_customer<EOL>self.username = username<EOL>self.course_id = course_id<EOL>self.program_uuid = program_uuid<EOL>self.granted = granted<EOL>self._exists = exists<EOL>self._child_consents = child_consents or []<EOL>
Initialize a proxy version of ``DataSharingConsent`` which behaves similarly but does not exist in the DB.