unitaryfund / metriq-client

Fork of papers-with-code client
https://metriq.info
Apache License 2.0
3 stars 10 forks source link

Test DELETE submission #53

Closed WrathfulSpatula closed 1 year ago

WrathfulSpatula commented 2 years ago

Test that a submission can be deleted with the Python client.

Metriq client method is here: https://github.com/unitaryfund/metriq-client/blob/3504b73e282864671e7227ad5796468872d1844d/metriq/client.py#L56 Controller route is here: https://github.com/unitaryfund/metriq-api/blob/d22472555de79112fe21ae4fd7ff529ef1e7a22d/metriq-api/controller/submissionController.js#L82 Service route is here: https://github.com/unitaryfund/metriq-api/blob/d22472555de79112fe21ae4fd7ff529ef1e7a22d/metriq-api/service/submissionService.js#L107

MariaM0003 commented 2 years ago

Works.

{'message': 'Successfully deleted submission.'...