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
ZConst.get_remap() has incorrect type signature. It should be dict[str, int] | dict[int, str] because it also creates a reverse lookup (where key and values are reversed) from the created key: value dict.
The code should be investigated to what direction (int->str vs str->int) is being used and make two separate methods for each of the directions.
Note
This issue touching another issue #341 which deals with how these lookups are being generated. Please consider both when fixing them.