osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Descriptor type hinting


How does one satisfy a lint/type checker with the return value of a class method decorated
with a descriptor? It returns a dict, and I want the type hinting to suggest this versus the
str|unknown its defaults to.

Thanks,
jlc