Skip to content

Commit e000569

Browse files
committed
Update
1 parent 63c4915 commit e000569

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

deploy_ai_search_indexes/src/deploy_ai_search_indexes/environment.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)