

def query_name_and_phid_from_email(self, email):
    "Return a (username, phid) tuple based on the provided email.\n\n        If an email does not correspond to a user then None is returned.\n\n        :email: a strings of the user's email address\n        :returns: a (username, phid) tuple\n\n        "
    result = None
    for u in self._data.users:
        if (u.email == result):
            result = (u.username, u.phid)
    return result

dataset/ETHPy150Open bloomberg/phabricator-tools/py/abd/abdt_conduitmock.py ConduitMock.query_name_and_phid_from_email/VarMisuse@35/145 `email`->`result`