19 lines
417 B
Python
19 lines
417 B
Python
import json
|
|
import re
|
|
|
|
with open('resources/data_work_item_link/work_item_link_2026-01-01.json', 'r', encoding='utf-8') as f:
|
|
data = json.load(f)
|
|
|
|
links = data.get('links', [])
|
|
print(f"Total links: {len(links)}")
|
|
|
|
const_keys = set()
|
|
for link in links:
|
|
ck = link.get('const_key')
|
|
if ck:
|
|
const_keys.add(ck)
|
|
|
|
print(f"Unique const_keys: {len(const_keys)}")
|
|
for ck in sorted(const_keys):
|
|
print(ck)
|