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
is invalid because it believes the __init__ method of Polygon expects either a tuple, or a list of tuples. I can't spot any type annotation in the project and I don't know where it reads this hint, if not from the docstring.
If this is the case, we should make clear that list of list of tuple is needed for Polygon and I think also MultiLineString.
I'd introduce separate __init__ in each class, that would be helpful for final users. Adding type annotation to function parameters and return values would also help.
The text was updated successfully, but these errors were encountered:
PyCharm complains that:
is invalid because it believes the
__init__
method ofPolygon
expects either a tuple, or a list of tuples. I can't spot any type annotation in the project and I don't know where it reads this hint, if not from the docstring.If this is the case, we should make clear that list of list of tuple is needed for
Polygon
and I think alsoMultiLineString
.I'd introduce separate
__init__
in each class, that would be helpful for final users. Adding type annotation to function parameters and return values would also help.The text was updated successfully, but these errors were encountered: