16 lines
417 B
Python
16 lines
417 B
Python
from core.lib.opensearch import client, run_main_query
|
|
|
|
|
|
def get_nicks(request, net, nick):
|
|
"""
|
|
Get all related nicknames of the given nickname by tracking nickname changes.
|
|
"""
|
|
# Get the initial query
|
|
query = {}
|
|
results = set()
|
|
# nicks = query["nicks"]
|
|
# for nick in nicks:
|
|
# if nick not in results:
|
|
# nicks_result = get_nicks(request, net_nick)
|
|
# results.add(nick)
|