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
class CustomFunctions(jmespath.functions.Functions):
@jmespath.functions.signature({'types': ['object']}, {'types': ['array']})
def _func_map_merge(self, obj: str, arg: list[dict[str, str]]) -> list[dict[str, str]]:
result = []
for element in arg:
merged_object = super()._func_merge(obj, element)
result.append(merged_object)
return result
Drop the following error
error: "_func_merge" undefined in superclass
I think it should be some missing information on stubs
The text was updated successfully, but these errors were encountered:
Franco0700
changed the title
Fake positive with mypy
False positive with mypy
Feb 14, 2023
Defining a customFunctions, like this:
Drop the following error
I think it should be some missing information on stubs
The text was updated successfully, but these errors were encountered: