Add harmony-py
as a dependency
#151
Annotations
9 errors
test:
icepyx/core/APIformatting.py#L41
Type "str" is not assignable to declared type "HarmonyTemporal"
"str" is not assignable to "HarmonyTemporal" (reportAssignmentType)
|
test:
icepyx/core/harmony.py#L2
"NotRequired" is unknown import symbol (reportAttributeAccessIssue)
|
test:
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)
|
test:
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)
|
test:
icepyx/core/query.py#L1072
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)
|
test:
icepyx/core/query.py#L1077
"object" is not iterable
"__iter__" method not defined (reportGeneralTypeIssues)
|
test:
icepyx/core/query.py#L1080
Argument of type "dict[str, object]" cannot be assigned to parameter "CMRparams" of type "CMRParams" in function "place_order"
Type "dict[str, object]" is not assignable to type "CMRParams"
"dict[str, object]" is not assignable to "CMRParamsWithBbox"
"dict[str, object]" is not assignable to "CMRParamsWithPolygon" (reportArgumentType)
|
test:
icepyx/core/query.py#L1089
Argument of type "dict[str, object]" cannot be assigned to parameter "CMRparams" of type "CMRParams" in function "place_order"
Type "dict[str, object]" is not assignable to type "CMRParams"
"dict[str, object]" is not assignable to "CMRParamsWithBbox"
"dict[str, object]" is not assignable to "CMRParamsWithPolygon" (reportArgumentType)
|
test
8 errors
|