Skip to content

Commit

Permalink
update name according to comment
Browse files Browse the repository at this point in the history
  • Loading branch information
zhengfeiwang committed Apr 11, 2024
1 parent 2dcd4d4 commit 24a3a7e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/promptflow-devkit/promptflow/_sdk/_tracing.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def _is_azure_ext_installed() -> bool:
return False


def _get_collection_id(collection: str) -> str:
def _get_collection_id_for_azure(collection: str) -> str:
"""{collection}_{object_id}"""
import jwt

Expand Down Expand Up @@ -180,7 +180,7 @@ def _print_tracing_url_from_azure_portal(

if run is None:
_logger.debug("run is not specified, need to concat `collection_id` for query")
collection_id = _get_collection_id(collection=collection)
collection_id = _get_collection_id_for_azure(collection=collection)
if AzureWorkspaceKind.is_workspace(workspace):
_logger.debug(f"{ws_triad.workspace_name!r} is an Azure ML workspace.")
if run is None:
Expand Down

0 comments on commit 24a3a7e

Please sign in to comment.