in sagemaker_studio_sparkmagic_lib/sparkmagic.py [0:0]
def connect_to_emr_cluster(
cluster_id,
user_name="livy",
role_arn=None,
restart_kernel=False,
skip_krb=False,
# override_path for local testing
krb_file_override_path=None,
spark_magic_override_path=None,