Skip to content

Commit

Permalink
Make property
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobtomlinson committed Nov 8, 2023
1 parent 682723c commit 59eb2d9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dask_databricks/databrickscluster.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ async def _start(self):
self.scheduler_comm = rpc(f"{self.spark_local_ip}:8786")
await super()._start()

@property
def dashboard_link(self):
if spark is None:
raise RuntimeError("Unable to locate spark session. Are you running this on a Databricks driver node?")
Expand Down

0 comments on commit 59eb2d9

Please sign in to comment.