Is using Literal type hints violating DRY? Best practice ways to implement?
I am passing a data_type
parameter to many python functions/methods/classes. It can take one of a small number of string values.
I am passing a data_type
parameter to many python functions/methods/classes. It can take one of a small number of string values.