Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
nanne-aben committed Aug 15, 2023
1 parent af2251a commit c684468
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions typedspark/_core/dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,21 +29,21 @@
_Implementation = TypeVar("_Implementation", bound=Schema, covariant=True)


class DataSetImplements(DataFrame, Generic[_Protocol, _Implementation]):
class DataSetExtends(DataFrame, Generic[_Protocol]):
"""TODO."""

def __init__(self):
raise NotImplementedError("TODO") # pragma: no cover


class DataSetExtends(DataSetImplements[_Protocol, _Protocol], Generic[_Protocol]):
class DataSetImplements(DataSetExtends[_Protocol], Generic[_Protocol, _Implementation]):
"""TODO."""

def __init__(self):
raise NotImplementedError("TODO") # pragma: no cover


class DataSet(DataSetExtends[_Schema]):
class DataSet(DataSetImplements[_Schema, _Schema]):
"""``DataSet`` subclasses pyspark ``DataFrame`` and hence has all the same
functionality, with in addition the possibility to define a schema.
Expand Down

0 comments on commit c684468

Please sign in to comment.