Update encoders.py

This commit is contained in:
Pedro Lobato 2026-02-10 08:03:06 -05:00
parent c8e68cdab4
commit 334bb918e4
1 changed files with 1 additions and 1 deletions

View File

@ -324,7 +324,7 @@ def jsonable_encoder(
return encoded_dict
if isinstance(obj, (Sequence, GeneratorType)):
encoded_list: List[Any] = []
encoded_list = []
for item in obj:
encoded_list.append(
jsonable_encoder(