MCPcopy Create free account
hub / github.com/YesianRohn/TextSSR / find_duplicates

Function find_duplicates

diffusers/utils/check_inits.py:195–196  ·  view source on GitHub ↗
(seq)

Source from the content-addressed store, hash-verified

193 """
194
195 def find_duplicates(seq):
196 return [k for k, v in collections.Counter(seq).items() if v > 1]
197
198 if list(import_dict_objects.keys()) != list(type_hint_objects.keys()):
199 return ["Both sides of the init do not have the same backends!"]

Callers 1

analyze_resultsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected