Commit 6ca7d1a6 authored by Douglas's avatar Douglas Committed by Ivan Tyagov

erp5_data_notebook: adds environment object demo notebook

@Tyagov, please, check the demo notebook added.



/reviewed-on nexedi/erp5!145
parent dc796546
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>__name__</string> </key>
<value> <string>Environment Object Demo Notebook</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/octet-stream</string> </value>
  • Shouldn't it be application/javascript ?

  • @jm nope, it's not a Javascript file. It's basically JSON representation of a Python dictionary with the necessary stuff for Jupyter to replicate the notebook. This is not just the notebook exported as HTML.

    Edited by Douglas
  • Oops, I meant application/json.

  • @jm probably should. Maybe File object (the one you use to upload files to a folder in portal_skins) is not identifying this correctly.

Please register or sign in to reply
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment