Open calbach opened 2 months ago
# template.ipynb parameters block foo: None|str = None
$ papermill -p foo BAR ... Passed unknown parameter: foo
Expected: this warning not to show up, foo should be recognized as a valid parameter.
Also note:
Optional[str]
str|None
papermill version == 2.6.0
🐛 Bug
Expected: this warning not to show up, foo should be recognized as a valid parameter.
Also note:
Optional[str]
does not suffer from this issue, just type union stylestr|None
(change the type order) produces the same warning logpapermill version == 2.6.0