Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion merlin/schema/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@ def apply_inverse(self, selector) -> "Schema":

def select_by_tag(
self,
tags: Union[Union[str, Tags], List[Union[str, Tags]]],
tags: Union[Union[str, Tags], List[Union[str, Tags]], TagSet],
pred_fn=None,
) -> "Schema":
"""Select columns from this Schema that match ANY of the supplied tags.
Expand All @@ -449,6 +449,7 @@ def select_by_tag(

if not isinstance(tags, (list, tuple)):
tags = [tags]
tags = TagSet(tags)

selected_schemas = {}

Expand Down