E-TE0010 — Incompatible entry types in a dict
Error Type |
|
|---|---|
Phase |
type checking the model |
Python exception |
|
Message
Entries of the dict `{expr}` have incompatible types `{types}`.
All keys and all values must share common types.
Cause
A dict literal mixes entries whose key types or value types do not unify — for example, some keys are integers while others are tuples, or the values have different shapes.
Fix
Make all keys share one type and all values share one type. Convert or restructure the offending entries listed in the message.