From b60b4bfe583de6bd28e82d4352e8e71c4458317f Mon Sep 17 00:00:00 2001 From: Alexander Beedie Date: Sun, 20 Oct 2024 11:27:24 +0400 Subject: [PATCH] fix(python): More accurate `from_dicts` typing/signature (#19322) --- py-polars/polars/convert/general.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/py-polars/polars/convert/general.py b/py-polars/polars/convert/general.py index cee4b925e9e9..13adff9c4cd3 100644 --- a/py-polars/polars/convert/general.py +++ b/py-polars/polars/convert/general.py @@ -98,7 +98,7 @@ def from_dict( def from_dicts( - data: Sequence[dict[str, Any]], + data: Iterable[dict[str, Any]], schema: SchemaDefinition | None = None, *, schema_overrides: SchemaDict | None = None,