BrianJ
New Contributor II

Thanks everyone, I decided to use the Sparkcontext instead.

 

dbutils.notebook.entry_point.getDbutils().notebook().getContext().toJson()