Skip to content

Commit 6e86b7a

Browse files
authored
[evaluation] fix: Remove lazy imports from all (#42313)
This causes one of the release checks (tox run -e depends) to fail. `depends` tries to import everything from `__all__` which fails because we now raise an ImportError for optional imports (instead of just printing).
1 parent 976dc5c commit 6e86b7a

File tree

1 file changed

+0
-3
lines changed
  • sdk/evaluation/azure-ai-evaluation/azure/ai/evaluation

1 file changed

+0
-3
lines changed

sdk/evaluation/azure-ai-evaluation/azure/ai/evaluation/__init__.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -137,9 +137,6 @@ def lazy_import():
137137
"AzureOpenAITextSimilarityGrader",
138138
"AzureOpenAIScoreModelGrader",
139139
"AzureOpenAIPythonGrader",
140-
# Include lazy imports in __all__ so they appear as available
141-
"AIAgentConverter",
142-
"SKAgentConverter",
143140
]
144141

145142
__all__.extend([p for p in _patch_all if p not in __all__])

0 commit comments

Comments
 (0)