Skip to content

Commit

Permalink
Remove self
Browse files Browse the repository at this point in the history
  • Loading branch information
aorwall committed Nov 17, 2024
1 parent f98a8f5 commit 59dac57
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions moatless/completion/model.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import hashlib
import json
import logging
from typing import Optional, Any, Union, Self
from typing import Optional, Any, Union

import litellm
from instructor import OpenAISchema
Expand Down Expand Up @@ -185,7 +185,7 @@ def model_validate_json(
cls,
json_data: str | bytes | bytearray,
**kwarg,
) -> Self:
):
if not json_data:
raise ValidationError("Message is empty")

Expand Down

0 comments on commit 59dac57

Please sign in to comment.