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:
222
222
This function returns true if private endpoint is used
223
223
"""
224
224
return (
225
- os .environ .get (
226
- "AIService__AzureSearchOptions__UsePrivateEndpoint" ).lower ()
225
+ os .environ .get ("AIService__AzureSearchOptions__UsePrivateEndpoint" ).lower ()
227
226
== "true"
228
227
)
229
228
@@ -232,8 +231,6 @@ def get_custom_skill_function_url(self, skill_type: str):
232
231
Get the function app url that is hosting the custom skill
233
232
"""
234
233
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 } "
238
235
239
236
return full_url
You can’t perform that action at this time.
0 commit comments