neulab / explainaboard_client

1 stars 1 forks source link

Add a property in client to disable API version checking #61

Closed OscarWang114 closed 1 year ago

OscarWang114 commented 1 year ago

Users can do the following in the env setup to disable API version checking

explainaboard_client.check_api_version = False # this line
client = explainaboard_client.ExplainaboardClient()

Fix test by deling the time field, which is updated on every GET request.

Add a test to ensure the disable property works