File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
deploy_ai_search_indexes/src/deploy_ai_search_indexes Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -222,8 +222,7 @@ def use_private_endpoint(self) -> bool:
222222 This function returns true if private endpoint is used
223223 """
224224 return (
225- os .environ .get (
226- "AIService__AzureSearchOptions__UsePrivateEndpoint" ).lower ()
225+ os .environ .get ("AIService__AzureSearchOptions__UsePrivateEndpoint" ).lower ()
227226 == "true"
228227 )
229228
@@ -232,8 +231,6 @@ def get_custom_skill_function_url(self, skill_type: str):
232231 Get the function app url that is hosting the custom skill
233232 """
234233
235- full_url = (
236- f"{ self .function_app_end_point } /api/{ skill_type } ?code={ self .function_app_key } "
237- )
234+ full_url = f"{ self .function_app_end_point } /api/{ skill_type } ?code={ self .function_app_key } "
238235
239236 return full_url
You can’t perform that action at this time.
0 commit comments