def METHOD_NAME(self, package, buildStatus):
    masterBuildStatusApi = f"{self.MasterUrl}/notifybuild/"
    try:
        response = requests.post(
            masterBuildStatusApi,
            json={"package": package, "status": buildStatus},
        )
    except requests.exceptions.RequestException as e:
        print(f"Exception in getting response from server: {e}")
        return None
    if response.status_code == 200:
        print("master notified\n")
        return True
    print(
        "Unable to notify master, error code = %s"
        % response.status_code,
        ",response = %s" % response.json,
    )
    sys.exit(1)