async def lookup_entities(client, args):
lookup_spec = _get_lookup_spec(args.entity_identifier)<EOL>request = hangups.hangouts_pb2.GetEntityByIdRequest(<EOL>request_header=client.get_request_header(),<EOL>batch_lookup_spec=[lookup_spec],<EOL>)<EOL>res = await client.get_entity_by_id(request)<EOL>for entity_result in res.entity_result:<EOL><INDENT>for entity in entity_result.entity:<EOL><INDENT>print(entity)<EOL><DEDENT><DEDENT>
Search for entities by phone number, email, or gaia_id.