Skip to content

Commit da5715b

Browse files
committed
Update default
1 parent 9547d77 commit da5715b

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

dataframely/collection.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
if sys.version_info >= (3, 13):
2222
SamplingType = TypeVar(
23-
"SamplingType", bound=Mapping[str, Any], default=dict[str, Any]
23+
"SamplingType", bound=Mapping[str, Any], default=Mapping[str, Any]
2424
)
2525
else: # pragma: no cover
2626
SamplingType = TypeVar("SamplingType", bound=Mapping[str, Any])

tests/test_typing.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,12 @@ def test_collection_filter_return_value() -> None:
8787
assert len(failure["third"]) == 0 # type: ignore[misc]
8888

8989

90+
def test_collection_concat() -> None:
91+
c1 = MyCollection.create_empty()
92+
c2 = MyCollection.create_empty()
93+
dy.concat_collection_members([c1, c2])
94+
95+
9096
# ------------------------------------------------------------------------------------ #
9197
# ITER ROWS #
9298
# ------------------------------------------------------------------------------------ #

0 commit comments

Comments
 (0)