Skip to content

Commit 7295798

Browse files
pydantic v2: mypy fix
1 parent 82b166c commit 7295798

File tree

1 file changed

+1
-1
lines changed
  • aws_lambda_powertools/utilities/parser/models

1 file changed

+1
-1
lines changed

aws_lambda_powertools/utilities/parser/models/kafka.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class KafkaRecordModel(BaseModel):
2020
headers: List[Dict[str, bytes]]
2121

2222
# validators
23-
_decode_key = validator("key", allow_reuse=True)(base64_decode) # type: ignore[type-var]
23+
_decode_key = validator("key", allow_reuse=True)(base64_decode) # type: ignore[type-var, unused-ignore]
2424

2525
@validator("value", pre=True, allow_reuse=True)
2626
def data_base64_decode(cls, value):

0 commit comments

Comments
 (0)