equinor/webviz-config

Support TypedDict in callback_typecheck

Closed this issue · 0 comments

Need for support of TypedDict in callback_typecheck-decorator

TypedDict are utilized to obtain a fixed structure for key and values in a dict during typehints in Dash. The callback_typecheck-decorator does not support this yet.


Example in SimulationTimeSeries-plugin with vector_calculator_expressions: List[ExpressionInfo] where ExpressionInfo is a TypedDict

image

Error:
image