sql-metadata icon indicating copy to clipboard operation
sql-metadata copied to clipboard

return type of UniqueList inconsistent with type hint of List

Open jfelectron opened this issue 3 years ago • 0 comments

Many Parser methods return UniqueList but the type hinting indicates List. This is confusing when you first write tests and leads to inconsistency between the type hints in consuming code and what your tests assert.

jfelectron avatar Feb 25 '22 22:02 jfelectron