Skip to content

Commit 993857f

Browse files
author
Auto-format Bot
committed
Automatically reformatting code
1 parent b3f35a2 commit 993857f

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

src/groundlight/experimental_api.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -874,9 +874,7 @@ def set_edge_config(
874874

875875
url = f"{self._edge_base_url()}/edge-config"
876876
headers = self.get_raw_headers()
877-
response = requests.put(
878-
url, json=config.to_payload(), headers=headers, verify=self.configuration.verify_ssl
879-
)
877+
response = requests.put(url, json=config.to_payload(), headers=headers, verify=self.configuration.verify_ssl)
880878
response.raise_for_status()
881879

882880
desired_ids = {d.detector_id for d in config.detectors if d.detector_id}
@@ -888,6 +886,5 @@ def set_edge_config(
888886
time.sleep(poll_interval_sec)
889887

890888
raise TimeoutError(
891-
f"Edge detectors were not all ready within {timeout_sec}s. "
892-
"The edge endpoint may still be converging."
889+
f"Edge detectors were not all ready within {timeout_sec}s. The edge endpoint may still be converging."
893890
)

0 commit comments

Comments
 (0)