Kaushik Visvanathan
11/30/2020, 9:10 PM0.9.3
allows dagster to infer input and output descriptions from docstrings. The issue is it appears to do this at runtime and throw an error if the docstring isn't formatted properly (e.g if you use hyphens instead of colons after argument names). Is there a way to turn this off? The docstring parser module brought in by dagster throws this error at runtime:
pypi__36__docstring_parser_0_7_1_linux_x86_64/docstring_parser/google.py", line 106, in _build_meta
before, desc = text.split(":", 1)
ValueError: not enough values to unpack (expected 2, got 1)
if you have for example:
Args:
arg_name - description of arg
instead of:
Args:
arg_name: description of the arg
max
11/30/2020, 9:23 PMKaushik Visvanathan
11/30/2020, 9:48 PM