From ebd7403ba19ce378ef07292aadb49770b2e22460 Mon Sep 17 00:00:00 2001 From: Jason Munro Date: Tue, 1 Feb 2022 15:45:55 -0800 Subject: [PATCH] Remove heartbeat slash (#504) --- src/mp_api/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mp_api/client.py b/src/mp_api/client.py index 62b07033..0ce5ce72 100644 --- a/src/mp_api/client.py +++ b/src/mp_api/client.py @@ -237,7 +237,7 @@ def get_database_version(self): Returns: database version as a string """ - return get(url=self.endpoint + "/heartbeat").json()["db_version"] + return get(url=self.endpoint + "heartbeat").json()["db_version"] def get_materials_id_from_task_id(self, task_id: str) -> Union[str, None]: """