def check_key_expired(key, node, url):
    if key in node.private_link_keys_deleted:
        url = furl(url).add({'status': 'expired'}).url

    return url
Tests PokitDok.create_identity
dataset/ETHPy150Open CenterForOpenScience/osf.io/website/project/decorators.py/check_key_expired--crossover with--dataset/ETHPy150Open pokitdok/pokitdok-python/tests/test_api_client.py/TestAPIClient.test_create_identity