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
When we have a function definition which accepts Mapping[String, Any], and we pass an option's value with the same type, currently we get this error:
Traceback (most recent call last):
...
File "/usr/local/lib/python3.7/dist-packages/hiku/sources/graph.py", line 57, in __postprocess__
reqs = RequirementsExtractor.extract(self.sub_graph.types, expr)
File "/usr/local/lib/python3.7/dist-packages/hiku/expr/refs.py", line 122, in extract
extractor.visit(expr)
File "/usr/local/lib/python3.7/dist-packages/hiku/expr/refs.py", line 131, in visitsuper(RequirementsExtractor, self).visit(node)
File "/usr/local/lib/python3.7/dist-packages/hiku/expr/nodes.py", line 71, in visit
node.accept(self)
File "/usr/local/lib/python3.7/dist-packages/hiku/expr/nodes.py", line 40, in acceptreturn visitor.visit_tuple(self)
File "/usr/local/lib/python3.7/dist-packages/hiku/expr/refs.py", line 143, in visit_tupleself.visit(arg)
File "/usr/local/lib/python3.7/dist-packages/hiku/expr/refs.py", line 128, in visit
req = ref_to_req(self._types, ref)
File "/usr/local/lib/python3.7/dist-packages/hiku/expr/refs.py", line 82, in ref_to_reqassertnotisinstance(ref_type, _CONTAINER_TYPES), ref_type
AssertionError: Mapping[String, Any]
The text was updated successfully, but these errors were encountered:
When we have a function definition which accepts
Mapping[String, Any]
, and we pass an option's value with the same type, currently we get this error:The text was updated successfully, but these errors were encountered: