enforce icon indicating copy to clipboard operation
enforce copied to clipboard

Typing error

Open ArneBachmann opened this issue 7 years ago • 1 comments

Any idea what that might mean? argument 'pinfo' was not of type <class 'sos.PathInfo'>. Actual type was untyped PathInfo We are in sos.py with a class PathInfo.

ArneBachmann avatar Nov 13 '17 12:11 ArneBachmann

I believe it should mean that the type checker is expecting a Typed NamedTuple but it is getting an untyped version of NamedTuple.

Here are the instructions how to make one 'typed': https://github.com/RussBaz/enforce#namedtuple

Does this help?

RussBaz avatar Nov 13 '17 14:11 RussBaz