Skip to content

Commit

Permalink
chore: use typing.Set for anotations in ibis.common.collections
Browse files Browse the repository at this point in the history
  • Loading branch information
kszucs committed Mar 20, 2023
1 parent 3af92f7 commit e218fa8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ibis/common/collections.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from __future__ import annotations

from types import MappingProxyType
from typing import Any, Hashable, Iterable, Iterator, Mapping, TypeVar
from typing import Any, Hashable, Iterable, Iterator, Mapping, Set, TypeVar

from public import public
from typing_extensions import Self
Expand Down Expand Up @@ -208,7 +208,7 @@ def __repr__(self):
return f"{self.__class__.__name__}({super().__repr__()})"


class DisjointSet(Mapping[K, set[K]]):
class DisjointSet(Mapping[K, Set[K]]):
"""Disjoint set data structure.
Also known as union-find data structure. It is a data structure that keeps
Expand Down

0 comments on commit e218fa8

Please sign in to comment.