Numerapi error when retrieving submission status

Lately get an error when trying to get the status of a model’s submission:

import numerapi

napi = numerapi.NumerAPI(public_id=PUBLIC_ID, secret_key=SECRET_KEY)
model_id = napi.get_models()['rpica']
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File ".../lib/python3.8/site-packages/numerapi/", line 711, in submission_status
    data = self.raw_query(query, args, authorization=True)
  File ".../lib/python3.8/site-packages/numerapi/", line 121, in raw_query
    raise ValueError(err)
ValueError: Cannot query field "consistency" on type "Submission".

Is this happening to everyone? Is there an easy fix?

Thank you!

The terrible quickfix I found is to delete in, submission_status function, in the query string declaration the lines for consistency and concordance.

I don’t know what those are for but with that change it doesn’t break …

Upgrading numerapi should fix your issue: pip install --upgrade numerapi