From 5e6689e2c3365947511a4c14364dee6b540dbccc Mon Sep 17 00:00:00 2001 From: Jim Broadbent Date: Thu, 12 Dec 2024 14:32:35 +0000 Subject: [PATCH] misc: rename method --- encord/project.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/encord/project.py b/encord/project.py index e500ec0d..88466451 100644 --- a/encord/project.py +++ b/encord/project.py @@ -1335,3 +1335,11 @@ def create_filter_preset(self, name: str, filter_preset: ActiveFilterPresetDefin project_uuid=self._project_instance.project_hash, filter_preset_uuid=uuid, ) + + def analyze_prediction(self, label_branch_name: str) -> None: + self._client._api_client.post( + path=f"active/{self.project_hash}/predictions", + params=None, + payload=ActivePredictionPayload(label_branch_name=label_branch_name), + result_type=None, + )