Add harmony-py
as a dependency
#157
Annotations
7 errors
Run jakebailey/pyright-action@v2:
icepyx/core/APIformatting.py#L41
Type "str" is not assignable to declared type "HarmonyTemporal"
"str" is not assignable to "HarmonyTemporal" (reportAssignmentType)
|
Run jakebailey/pyright-action@v2:
icepyx/core/harmony.py#L2
"NotRequired" is unknown import symbol (reportAttributeAccessIssue)
|
Run jakebailey/pyright-action@v2:
icepyx/core/harmony.py#L49
Argument of type "BBox | None" cannot be assigned to parameter "spatial" of type "BBox | WKT" in function "__init__"
Type "BBox | None" is not assignable to type "BBox | WKT"
Type "None" is not assignable to type "BBox | WKT"
"None" is not assignable to "BBox"
"None" is not assignable to "WKT" (reportArgumentType)
|
Run jakebailey/pyright-action@v2:
icepyx/core/harmony.py#L49
Argument of type "HarmonyTemporal | None" cannot be assigned to parameter "temporal" of type "Mapping[str, datetime]" in function "__init__"
Type "HarmonyTemporal | None" is not assignable to type "Mapping[str, datetime]"
"HarmonyTemporal" is not assignable to "Mapping[str, datetime]"
Type parameter "_VT_co@Mapping" is covariant, but "object" is not a subtype of "datetime"
"object" is not assignable to "datetime" (reportArgumentType)
|
Run jakebailey/pyright-action@v2:
icepyx/core/query.py#L1028
Argument of type "object" cannot be assigned to parameter "obj" of type "Sized" in function "len"
"object" is incompatible with protocol "Sized"
"__len__" is not present (reportArgumentType)
|
Run jakebailey/pyright-action@v2:
icepyx/core/query.py#L1033
"object" is not iterable
"__iter__" method not defined (reportGeneralTypeIssues)
|
Run jakebailey/pyright-action@v2
6 errors
|
Loading