Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typing error #59

Open
ArneBachmann opened this issue Nov 13, 2017 · 1 comment
Open

Typing error #59

ArneBachmann opened this issue Nov 13, 2017 · 1 comment

Comments

@ArneBachmann
Copy link

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.

@RussBaz
Copy link
Owner

RussBaz commented Nov 13, 2017

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants