https://dagster.io/ logo
k

Kaushik Visvanathan

11/30/2020, 9:10 PM
Hello! We recently upgraded dagster and it looks like an update in
0.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:
Copy code
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:
Copy code
Args:    
    arg_name - description of arg
instead of:
Copy code
Args:
    arg_name: description of the arg
1
👍 1
m

max

11/30/2020, 9:23 PM
can you open an issue for this?
k

Kaushik Visvanathan

11/30/2020, 9:48 PM
Will do