Skip to content

Commit 0f9625c

Browse files
committed
Fix even more mypy errors
1 parent 2107c17 commit 0f9625c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

meilisearch_python_async/models/client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ class _KeyBase(CamelBase):
3737
expires_at: Optional[datetime] = None
3838

3939
if is_pydantic_2:
40-
model_config = pydantic.ConfigDict(ser_json_timedelta="iso8601") # type: ignore[typeddict-unknown-ke]
40+
model_config = pydantic.ConfigDict(ser_json_timedelta="iso8601") # type: ignore[typeddict-unknown-key]
4141

42-
@pydantic.field_validator("expires_at", mode="before") # type: ignore[attr=defined]
42+
@pydantic.field_validator("expires_at", mode="before") # type: ignore[attr-defined]
4343
@classmethod
4444
def validate_expires_at(cls, v: str) -> Union[datetime, None]:
4545
return iso_to_date_time(v)

0 commit comments

Comments
 (0)