You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dagster uses docstring-parser to inspect docstrings and obtain additional information about solid inputs and outputs. This results in a runtime error being thrown in instances where docstring format may deviate slightly from google-style guidelines. Docstring checking should at the very least be configurable and not throw runtime errors.
Reproduction
Valid docstring:
Args:
arg_name: description of the arg
Invalid docstring (contains hyphen instead of colon):
Args:
arg_name - description of arg
The second example results in the following error when trying to run the solid the docstring is enclosed in:
Hey @k-visvanathan thanks for the feedback! Agreed that this should not cause runtime errors. im not aware of better docstring parsers, but am happy to add a try/except around this
Summary:
#3306
We could potentially emit a warning.
Test Plan: bk
Reviewers: alangenfeld, cdecarolis
Reviewed By: alangenfeld
Differential Revision: https://dagster.phacility.com/D8170
Summary
Dagster uses docstring-parser to inspect docstrings and obtain additional information about solid inputs and outputs. This results in a runtime error being thrown in instances where docstring format may deviate slightly from google-style guidelines. Docstring checking should at the very least be configurable and not throw runtime errors.
Reproduction
Valid docstring:
Invalid docstring (contains hyphen instead of colon):
The second example results in the following error when trying to run the solid the docstring is enclosed in:
The text was updated successfully, but these errors were encountered: