mirror of
https://github.com/sissbruecker/linkding.git
synced 2025-08-08 11:18:28 +02:00

* 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>
3 lines
101 B
Python
3 lines
101 B
Python
def unique(elements, key):
|
|
return list({key(element): element for element in elements}.values())
|