def __init__(self, base_url, access_token):
new_url = get_institution_url(base_url)<EOL>if '<STR_LIT>' in base_url:<EOL><INDENT>warnings.warn(<EOL>"<STR_LIT>"<EOL>"<STR_LIT>".format(new_url),<EOL>DeprecationWarning<EOL>)<EOL><DEDENT>if '<STR_LIT>' in base_url:<EOL><INDENT>warnings.warn(<EOL>"<STR_LIT>"<EOL>"<STR_LIT>",<EOL>UserWarning<EOL>)<EOL><DEDENT>base_url = new_url + '<STR_LIT>'<EOL>self.__requester = Requester(base_url, access_token)<EOL>
:param base_url: The base URL of the Canvas instance's API.
:type base_url: str
:param access_token: The API key to authenticate requests with.
:type access_token: str