Skip to content

Commit

Permalink
no need to inherit from object (Python is no longer supported)
Browse files Browse the repository at this point in the history
  • Loading branch information
alixdamman committed Aug 2, 2021
1 parent 95a598c commit a2d8862
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions larray/core/checked.py
Original file line number Diff line number Diff line change
Expand Up @@ -523,12 +523,12 @@ class Config:
def CheckedArray(axes: AxisCollection, dtype: np.dtype = float) -> Type[Array]:
raise NotImplementedError("CheckedArray cannot be used because pydantic is not installed")

class CheckedSession(object):
class CheckedSession:
def __init__(self, *args, **kwargs):
raise NotImplementedError("CheckedSession class cannot be instantiated "
"because pydantic is not installed")

class CheckedParameters(object):
class CheckedParameters:
def __init__(self, *args, **kwargs):
raise NotImplementedError("CheckedParameters class cannot be instantiated "
"because pydantic is not installed")

0 comments on commit a2d8862

Please sign in to comment.