@@ -125,7 +125,7 @@ async def get_client_async(self, service_id: str = "default") -> Any | None:
125125 # Type-specific overloads for better IntelliSense (Type Hint)
126126 @overload
127127 @staticmethod
128- def create_client (
128+ def create_client ( # noqa: E704
129129 client_type : type [ClientType .AzureOpenAIChatCompletion ],
130130 * ,
131131 api_key : str | None = None ,
@@ -142,11 +142,11 @@ def create_client(
142142 env_file_path : str | None = None ,
143143 env_file_encoding : str | None = None ,
144144 instruction_role : str | None = None ,
145- ) -> "AzureOpenAIChatClient" : ... # noqa: E704
145+ ) -> "AzureOpenAIChatClient" : ...
146146
147147 @overload
148148 @staticmethod
149- def create_client (
149+ def create_client ( # noqa: E704
150150 client_type : type [ClientType .AzureOpenAIChatCompletionWithRetry ],
151151 * ,
152152 api_key : str | None = None ,
@@ -164,11 +164,11 @@ def create_client(
164164 env_file_encoding : str | None = None ,
165165 instruction_role : str | None = None ,
166166 retry_config : RateLimitRetryConfig | None = None ,
167- ) -> AzureOpenAIChatClientWithRetry : ... # noqa: E704
167+ ) -> AzureOpenAIChatClientWithRetry : ...
168168
169169 @overload
170170 @staticmethod
171- def create_client (
171+ def create_client ( # noqa: E704
172172 client_type : type [ClientType .AzureOpenAIAssistant ],
173173 * ,
174174 deployment_name : str | None = None ,
@@ -187,11 +187,11 @@ def create_client(
187187 async_client : object | None = None ,
188188 env_file_path : str | None = None ,
189189 env_file_encoding : str | None = None ,
190- ) -> "AzureOpenAIAssistantsClient" : ... # noqa: E704
190+ ) -> "AzureOpenAIAssistantsClient" : ...
191191
192192 @overload
193193 @staticmethod
194- def create_client (
194+ def create_client ( # noqa: E704
195195 client_type : type [ClientType .AzureOpenAIResponse ],
196196 * ,
197197 api_key : str | None = None ,
@@ -208,11 +208,11 @@ def create_client(
208208 env_file_path : str | None = None ,
209209 env_file_encoding : str | None = None ,
210210 instruction_role : str | None = None ,
211- ) -> "AzureOpenAIResponsesClient" : ... # noqa: E704
211+ ) -> "AzureOpenAIResponsesClient" : ...
212212
213213 @overload
214214 @staticmethod
215- def create_client (
215+ def create_client ( # noqa: E704
216216 client_type : type [ClientType .AzureOpenAIResponseWithRetry ],
217217 * ,
218218 api_key : str | None = None ,
@@ -230,11 +230,11 @@ def create_client(
230230 env_file_encoding : str | None = None ,
231231 instruction_role : str | None = None ,
232232 retry_config : RateLimitRetryConfig | None = None ,
233- ) -> AzureOpenAIResponseClientWithRetry : ... # noqa: E704
233+ ) -> AzureOpenAIResponseClientWithRetry : ...
234234
235235 @overload
236236 @staticmethod
237- def create_client (
237+ def create_client ( # noqa: E704
238238 client_type : type [ClientType .AzureOpenAIAgent ],
239239 * ,
240240 project_client : object | None = None ,
@@ -246,7 +246,7 @@ def create_client(
246246 async_credential : object | None = None ,
247247 env_file_path : str | None = None ,
248248 env_file_encoding : str | None = None ,
249- ) -> "AzureAIAgentClient" : ... # noqa: E704
249+ ) -> "AzureAIAgentClient" : ...
250250
251251 @staticmethod
252252 def create_client (
0 commit comments