Skip to content

Commit

Permalink
fix python 3.9 typing error from mistral
Browse files Browse the repository at this point in the history
  • Loading branch information
tcapelle committed Aug 14, 2024
1 parent 1313970 commit c9c48ae
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion weave/trace/op.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@
ANTHROPIC_NOT_GIVEN = None

try:
from mistralai.types.basemodel import UNSET as MISTRAL_NOT_GIVEN
from mistralai.types.basemodel import UNSET
MISTRAL_NOT_GIVEN = UNSET
except ImportError:
MISTRAL_NOT_GIVEN = None

Expand Down

0 comments on commit c9c48ae

Please sign in to comment.