Skip to content

Commit fe97b2d

Browse files
committed
removed unused azure imports
1 parent 03f60af commit fe97b2d

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/guardrails/checks/text/moderation.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,6 @@
3636
from openai import AsyncOpenAI, NotFoundError
3737
from pydantic import BaseModel, ConfigDict, Field
3838

39-
try:
40-
from openai import AsyncAzureOpenAI, AzureOpenAI # type: ignore
41-
except Exception: # pragma: no cover - optional dependency
42-
AsyncAzureOpenAI = object # type: ignore
43-
AzureOpenAI = object # type: ignore
44-
4539
from guardrails.registry import default_spec_registry
4640
from guardrails.spec import GuardrailSpecMetadata
4741
from guardrails.types import GuardrailResult

0 commit comments

Comments
 (0)