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
Add unsafe flag #1
Comments
Another option would be to pass it a particular loader... that way you can configure it to do your own custom parsing without letting the whole of python be exposed... unless you intentionally pick In the case of Bokeh, a custom loader would be nice:
%%yaml foo Loader=BokehLoader
%TAG !bokeh! tag:bokeh.pydata.org,2015:/
plot: !bokeh!charts.line
args:
- y: [6, 7, 2, 4, 5]
z: [1, 5, 12, 4, 2]
kwds:
title: simple line example
xlabel: x
ylabel: values
width: 400
height: 400 The advantage here is one could imagine not being specifically tied to python for dereferencing, jsyaml supports such namespaced tags as well. |
Yes that is a much more pleasing suggestion. The snippet above could emit a Bokeh plot and |
Sickkk. Could you make a notebook with what a customer loader might look On 5:31PM, Sat, Aug 15, 2015 bollwyvl notifications@github.com wrote:
|
Could you provide an option to load python tags something like
I am thinking this could be useful in the context of yaml manifests for data with plot representations.
The text was updated successfully, but these errors were encountered: