forked from nteract/papermill
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from viaduct-ai/jpugliesi/update
Update to 2.3.1
- Loading branch information
Showing
36 changed files
with
1,071 additions
and
96 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
[bumpversion] | ||
current_version = 2.1.3 | ||
current_version = 2.3.1 | ||
commit = True | ||
tag = True | ||
tag_name = {new_version} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
trigger: | ||
- master | ||
- main | ||
|
||
# Set variables once | ||
variables: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -47,7 +47,7 @@ | |
"execution_count": null, | ||
"metadata": { | ||
"tags": [ | ||
"parametesr" | ||
"parameters" | ||
] | ||
}, | ||
"outputs": [], | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
Inspect | ||
======= | ||
|
||
The two ways to inspect the notebook to discover its parameters are: (1) through the | ||
Python API and (2) through the command line interface. | ||
|
||
Execute via the Python API | ||
~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
|
||
The `inspect_notebook` function can be called to inspect a notebook: | ||
|
||
.. code-block:: python | ||
inspect_notebook(<notebook path>) | ||
.. code-block:: python | ||
import papermill as pm | ||
pm.inspect_notebook('path/to/input.ipynb') | ||
.. note:: | ||
If your path is parametrized, you can pass those parameters in a dictionary | ||
as second parameter: | ||
|
||
``inspect_notebook('path/to/input_{month}.ipynb', parameters={month='Feb'})`` | ||
|
||
Inspect via CLI | ||
~~~~~~~~~~~~~~~ | ||
|
||
To inspect a notebook using the CLI, enter the ``papermill --help-notebook`` command in the | ||
terminal with the notebook and optionally path parameters. | ||
|
||
.. seealso:: | ||
|
||
:doc:`CLI reference <./usage-cli>` | ||
|
||
Inspect a notebook | ||
^^^^^^^^^^^^^^^^^^ | ||
|
||
Here's an example of a local notebook being inspected and an output example: | ||
|
||
.. code-block:: bash | ||
papermill --help-notebook ./papermill/tests/notebooks/complex_parameters.ipynb | ||
Usage: papermill [OPTIONS] NOTEBOOK_PATH [OUTPUT_PATH] | ||
Parameters inferred for notebook './papermill/tests/notebooks/complex_parameters.ipynb': | ||
msg: Unknown type (default None) | ||
a: float (default 2.25) Variable a | ||
b: List[str] (default ['Hello','World']) | ||
Nice list | ||
c: NoneType (default None) |
Oops, something went wrong.