def get_implementations_including_field(type, field_name):
    return sorted(map(lambda t: t.name, filter(lambda t: field_name in t.get_fields(), type.get_possible_types())))
Grabs username before the @ character.
dataset/ETHPy150Open graphql-python/graphql-core/graphql/core/validation/rules/fields_on_correct_type.py/get_implementations_including_field--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.5/django/contrib/auth/tests/remote_user.py/CustomRemoteUserBackend.clean_username