Skip to content

Commit 80f82da

Browse files
authored
fix: Use Sequence for concat_collection_members (#10)
1 parent 698b701 commit 80f82da

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

dataframely/functional.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Copyright (c) QuantCo 2025-2025
22
# SPDX-License-Identifier: BSD-3-Clause
33

4+
from collections.abc import Sequence
45
from typing import TypeVar
56

67
import polars as pl
@@ -65,7 +66,7 @@ def filter_relationship_one_to_at_least_one(
6566
# ------------------------------------------------------------------------------------ #
6667

6768

68-
def concat_collection_members(collections: list[C], /) -> dict[str, pl.LazyFrame]:
69+
def concat_collection_members(collections: Sequence[C], /) -> dict[str, pl.LazyFrame]:
6970
"""Concatenate the members of collections with the same type.
7071
7172
Args:

0 commit comments

Comments
 (0)