You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found type checking my code that uses vobject gave me an error for trying to use vobject.readComponents:
gcalcli/ics.py:24: error: Module "vobject" does not explicitly export attribute "readComponents" [attr-defined]
Typeshed does supply types for the vobject module, but those don't declare readComponents at all. I think if you can make a trivial change here to explicitly export it then I can send a trivial PR to typeshed to regenerate using the new version.
I found type checking my code that uses vobject gave me an error for trying to use
vobject.readComponents
:Typeshed does supply types for the vobject module, but those don't declare readComponents at all. I think if you can make a trivial change here to explicitly export it then I can send a trivial PR to typeshed to regenerate using the new version.
The relevant mypy docs for "no-implicit-reexport" suggest one of these two changes to explicitly export:
as readComponents
on the import__all__ = ['readComponents'...]
on the fileWDYT?
The text was updated successfully, but these errors were encountered: