Azure / Azure-Data-Service-Notebook

Magic functions for using Jupyter Notebook with Azure Data Service
MIT License
6 stars 6 forks source link

add a configuration magic #11

Closed ruixinxu closed 6 years ago

ruixinxu commented 6 years ago

Is your feature request related to a problem? Please describe. I am frustrated of current default settings when using adlmagic, e.g. default adla account, default display row number etc.

Describe the solution you'd like support '%config adl' to enumerate all the configuration settings and current value, allow users to reset the value to new ones. Settings include:

  1. default adla account
  2. default result page index
  3. default page account number
  4. default page job number
  5. default job parallelism
  6. default job priority
  7. default runtime
  8. default encoding
  9. default file path??
iVincentFeng commented 6 years ago

added 2 magic commands to configure session items:

  1. %adl viewsession
  2. %adl setsessionitem

supporting following configurations: tenant user adla.account adls.account job.runtime job.priority job.parallelism paging.numberperpage file.encoding