-
Notifications
You must be signed in to change notification settings - Fork 1
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
Update to 2.3.1 #6
Conversation
* Powershell translator added.
* Add Translator.inspect * Apply changes following review Co-authored-by: Frédéric Collonval <[email protected]>
Convert `Path` to `str` when received. Fixes nteract#543.
Allow `pathlib.Path` paths
Update extending-entry-points.rst
Cleanup of CoC in CONTRIBUTING.md
set base docs python to 3 in tox.ini
typo fix in binder/cli-simple/cli_example.ipynb
* prevent exception when paramaters yaml is empty Fix nteract#558 * add cli test for empty parameters yaml
def any_tagged_cell(nb, tag): | ||
"""Whether the notebook contains at least one cell tagged ``tag``? | ||
|
||
Parameters | ||
---------- | ||
nb : nbformat.NotebookNode | ||
The notebook to introspect | ||
tag : str | ||
The tag to look for | ||
|
||
Returns | ||
------- | ||
bool | ||
Whether the notebook contains a cell tagged ``tag``? | ||
""" | ||
return any([tag in cell.metadata.tags for cell in nb.cells]) | ||
|
||
|
||
def find_first_tagged_cell_index(nb, tag): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We could probably use these in our papermill wrapper
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
truth
@@ -377,6 +547,8 @@ def assign(cls, name, str_val): | |||
papermill_translators.register("matlab", MatlabTranslator) | |||
papermill_translators.register(".net-csharp", CSharpTranslator) | |||
papermill_translators.register(".net-fsharp", FSharpTranslator) | |||
papermill_translators.register(".net-powershell", PowershellTranslator) | |||
papermill_translators.register("pysparkkernel", PythonTranslator) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What about the sparkkernel
and SparkK kerenels?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
gp - registered
89191fb
to
6e4f9a0
Compare
Upgrades papermill to 2.3.1
This contains a fix to an issue introduced in a change to nbformat (see this papermill issue) that will raise an error like:
I'm not sure if this was manifested due to this recent nbformat version bump: https://github.com/viaduct-ai/vml-py/pull/355