def spark(name, spark_conf=None, spark_version='3.0.1', spark_home=None, worker_num=1, worker_type='standard-4', worker_isolation='dedicated', delta=False, aws=True):
    init(reinit=False)
    cluster = SparkCluster(__singleton['instance'], name, spark_conf=spark_conf, spark_version=spark_version, spark_home=spark_home, worker_num=worker_num, worker_type=worker_type, worker_isolation=worker_isolation, delta=delta, aws=aws)
    return cluster
def spark(name, spark_conf=None, spark_version='3.0.1', spark_home=None, worker_num=1, worker_type='standard-4', worker_isolation='dedicated', delta=False, aws=True):
    init(reinit=False)
    cluster = SparkCluster(__singleton['instance'], name, spark_conf=spark_conf, spark_version=spark_version, spark_home=spark_home, worker_num=worker_num, worker_type=worker_type, worker_isolation=worker_isolation, delta=delta, aws=aws)
    return cluster