def METHOD_NAME(*, scratch_org, originating_user_id, base_url=""):
    org_name = "dev"
    org_config = refresh_access_token(
        org_name=org_name,
        config=scratch_org.config,
        scratch_org=scratch_org,
        originating_user_id=originating_user_id,
    )
    conn = simple_salesforce.Salesforce(
        instance_url=org_config.instance_url,
        session_id=org_config.access_token,
        version=MetechoUniversalConfig().project__package__api_version,
    )
    conn.headers.setdefault(
        "Sforce-Call-Options", "client={}".format(settings.SFDX_CLIENT_ID)
    )
    conn.base_url += base_url
    return conn