def __init__(self, host, auth):
<EOL>if '<STR_LIT:http>' not in host:<EOL><INDENT>raise ValueError('<STR_LIT>')<EOL><DEDENT>self.auth = auth<EOL>self.host = urljoin(host, '<STR_LIT>')<EOL>self.headers = {'<STR_LIT>': '<STR_LIT:application/json>'}<EOL>
Initialize the Coredata client.