Skip to content

Commit

Permalink
Remove singleton Union
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanjmcdougall committed Aug 27, 2024
1 parent 56c3285 commit 0171d72
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pins/_adaptors.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@

import json
from abc import abstractmethod
from typing import TYPE_CHECKING, Any, ClassVar, TypeAlias, Union, overload
from typing import TYPE_CHECKING, Any, ClassVar, TypeAlias, overload

from ._databackend import AbstractBackend

if TYPE_CHECKING:
import pandas as pd

_PandasDataFrame: TypeAlias = pd.DataFrame
_DataFrame: TypeAlias = Union[_PandasDataFrame,]
_DataFrame: TypeAlias = _PandasDataFrame


class _AbstractPandasFrame(AbstractBackend):
Expand Down

0 comments on commit 0171d72

Please sign in to comment.