CODAIT / notebook-exporter

One Click deployment of Notebooks - Bringing Notebooks to Production
6 stars 1 forks source link

Add input/output parameters in the exporter #4

Open w311 opened 6 years ago

w311 commented 6 years ago

It would be really useful if we can pass parameters to notebook or converted jar file.

lresende commented 6 years ago

@w311 thanks for your interest in notebook-exporter.

Could you please clarify or provider some pointers on how one would define notebook parameters in a regular ipynb file? Otherwise, this is a regular spark application and it accepts parameters as other spark applications.

lresende commented 6 years ago

I came across this post and might be a generic way to enable passing values to notebooks being executed

mrbrahman commented 4 years ago

@lresende For Zeppelin I would think the most common usage of a notebook accepting params that is created to be enabled for spark-submit would be paragraph params as z.input or z.textbox. See dynamic forms.

I managed to add this to your code (on ApplicationGenerator.scala) to convert Zeppelin parameters as application parameters. Do you mind creating a repo just with notebook-exporter so I can submit a pull request?