code: def an_invited_project_member():
      invitation_info = MagicMock()
      invitation_info.id = a_uuid_string()
      invitation_info.email = a_string() + "@example.com"
  
      project_member = MagicMock()
      project_member.invitationInfo = invitation_info
      project_member.registeredMemberInfo = None
      project_member.role = "member"
  
      return project_member
  
file_path: neptune-client/tests/unit/neptune/legacy/api_objects_factory.py
imports: from random import randint, uniform
  from mock import MagicMock
  from tests.unit.neptune.legacy.random_utils import a_string, a_timestamp, a_uuid_string
label_desc: Use image node_id 2 for calling a global function with example usage: an_invited_project_member() and returns: project_member