diff --git a/semantic_router/encoders/zure.py b/semantic_router/encoders/zure.py
index 8fe2cd492546a9aa9b93df2d0af15752b0d0c5e9..8d523e8e331ee751ff8380d7277af7a072ed53f2 100644
--- a/semantic_router/encoders/zure.py
+++ b/semantic_router/encoders/zure.py
@@ -66,7 +66,9 @@ class AzureOpenAIEncoder(BaseEncoder):
 
         try:
             self.client = openai.AzureOpenAI(
-                azure_deployment=str(self.deployment_name) if self.deployment_name else None,
+                azure_deployment=str(self.deployment_name)
+                if self.deployment_name
+                else None,
                 api_key=str(self.api_key),
                 azure_endpoint=str(self.azure_endpoint),
                 api_version=str(self.api_version),