def METHOD_NAME(session, entity):
    # Create a client review with timestamp.
    name = entity["name"]
    review_session = session.create(
        "ReviewSession",
        {
            "name": f"Clone of {name}",
            "project": entity["project"]
        }
    )
    # Add all invitees.
    for invitee in entity["review_session_invitees"]:
        # Make sure email is not None but string
        email = invitee["email"] or ""
        session.create(
            "ReviewSessionInvitee",
            {
                "name": invitee["name"],
                "email": email,
                "review_session": review_session
            }
        )
    # Add all objects to new review session.
    for obj in entity["review_session_objects"]:
        session.create(
            "ReviewSessionObject",
            {
                "name": obj["name"],
                "version": obj["version"],
                "review_session": review_session,
                "asset_version": obj["asset_version"]
            }
        )
    session.commit()