mirror of
https://github.com/sissbruecker/linkding
synced 2024-11-13 23:27:16 +00:00
9df270557f
* Make tag assignment and search case-insensitive (#45) * Add tests for tag case-sensitivity and deduplication (#45) Co-authored-by: Sascha Ißbrücker <sissbruecker@lyska.io>
2 lines
101 B
Python
2 lines
101 B
Python
def unique(elements, key):
|
|
return list({key(element): element for element in elements}.values())
|