-
Notifications
You must be signed in to change notification settings - Fork 654
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Classes publicly available for dependency? #994
Comments
i think if you'd run then it'd should be available in Lines 405 to 432 in 6865818
https://github.com/spark-notebook/spark-notebook/blob/master/modules/common/src/main/scala/notebook/front/widgets/magic/Magic.scala |
Thanks @vidma for your answer! |
I would like to develop some common functions in a local scala library so that they can be imported and used by multiple notebooks. For example a function like this:
def getGraph(dfNodes: DataFrame, dfEdges: DataFrame, nodeRadius: Byte): Array[Graph[String]] = ???
However the class
Graph
needs to imported, but I do not know how. The following does not work:import org.XYZ...notebook.front.widgets.magic.Graph
How can I add the notebook classes as a dependency to my scala project?
The text was updated successfully, but these errors were encountered: