Skip to content

Commit

Permalink
#291 Fix imports in tests/e2e/helpers.py
Browse files Browse the repository at this point in the history
  • Loading branch information
alexhad6 committed Jun 26, 2024
1 parent e4e36ef commit e1a7152
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/e2e/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
from sqlalchemy import delete
from freezegun import freeze_time
import astropy.units as u # type: ignore
from paramdb import ParamDB, Param, Struct, ParamList, ParamDict
from paramdb import ParamDB, ParamDataclass, ParamList, ParamDict
from paramdb._database import _Snapshot


Expand All @@ -18,14 +18,14 @@
_DB = ParamDB[Any](DB_PATH)


class CustomParam(Param):
class CustomParam(ParamDataclass):
"""Custom parameter."""

int: int
str: str


class CustomStruct(Struct):
class CustomStruct(ParamDataclass):
"""Custom parameter structure."""

int: int
Expand Down

0 comments on commit e1a7152

Please sign in to comment.