From 2ba2cdbcaebc6ca1e1ad6b9ecb81fb10ddaf1e30 Mon Sep 17 00:00:00 2001 From: "jake@prefect.io" Date: Thu, 5 Sep 2024 18:23:43 -0400 Subject: [PATCH] fix casing --- src/prefect/client/orchestration.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/prefect/client/orchestration.py b/src/prefect/client/orchestration.py index 31cf18b110ed..a73b7503c7c2 100644 --- a/src/prefect/client/orchestration.py +++ b/src/prefect/client/orchestration.py @@ -3352,8 +3352,8 @@ async def api_compatible(self): if api_version.major != client_version.major: raise RuntimeError( - f"Client version {client_version} is incompatible with api version {api_version}. " - f"Both client and api must be on the same major version." + f"Client version {client_version} is incompatible with API version {api_version}. " + f"Both client and API must be on the same major version." ) async def __aenter__(self): @@ -3671,8 +3671,8 @@ def api_compatible(self): if api_version.major != client_version.major: raise RuntimeError( - f"Client version {client_version} is incompatible with api version {api_version}. " - f"Both client and api must be on the same major version." + f"Client version {client_version} is incompatible with API version {api_version}. " + f"Both client and API must be on the same major version." ) def create_flow(self, flow: "FlowObject") -> UUID: