def _init_api(self, base_url=None):
    api_version = self.project_config.project__package__api_version
    rv = Salesforce(instance=self.org.instance_url.replace('https://', ''), session_id=self.org.access_token, version=api_version)
    if (base_url is not None):
        rv.base_url += base_url
    return rv
def _init_api(self, base_url=None):
    api_version = self.project_config.project__package__api_version
    rv = Salesforce(instance=self.org.instance_url.replace('https://', ), session_id=self.org.access_token, version=api_version)
    if (base_url is not None):
        rv.base_url += base_url
    return rv