We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Given the parameter block:
from datetime import (time, date, datetime) import datetime dateannotation: datetime.date = datetime.date.today() datetimeannotation: datetime.datetime = datetime.datetime.now() timeannotation: datetime.time = datetime.time(12, 30) datealias: date = datetime.date.today() datetimealias: datetime = datetime.datetime.now() timealias: time = datetime.time(12, 30) datecomment = datetime.date.today() # type: datetime.date datetimecomment = datetime.datetime.now() # type: datetime.datetime timecomment = datetime.time(12, 30) # type: datetime.time
The parameters identified by papermill --help-notebook notebook.ipynb:
papermill --help-notebook notebook.ipynb
Parameters inferred for notebook 'notebook.ipynb': datealias: date (default datetime.date.today()) datetimealias: datetime (default datetime.datetime.now()) timealias: time (default datetime.time(12, 30)) datecomment: datetime.date (default datetime.date.today()) datetimecomment: datetime.datetime (default datetime.datetime.now()) timecomment: datetime.time (default datetime.time(12, 30))
The annotations like datetime.date are not recognized, likely because they are not matched by:
datetime.date
papermill/papermill/translators.py
Lines 144 to 147 in 0ee530d
Similar to #695 / #806, which report other cases where the regular expression does not identify types.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
🐛 Bug
Given the parameter block:
The parameters identified by
papermill --help-notebook notebook.ipynb
:The annotations like
datetime.date
are not recognized, likely because they are not matched by:papermill/papermill/translators.py
Lines 144 to 147 in 0ee530d
Similar to #695 / #806, which report other cases where the regular expression does not identify types.
The text was updated successfully, but these errors were encountered: