Skip to content

Commit

Permalink
Update _base.py
Browse files Browse the repository at this point in the history
  • Loading branch information
thorrester committed Sep 17, 2024
1 parent b441a1b commit 1c0aa1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion opsml/data/interfaces/_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ def load_data_profile(self, path: Path) -> None:
Pathlib object
"""

profile = DataProfile.load_from_json(path.read_text(encoding="utf-8"))
profile = DataProfile.model_validate_json(path.read_text(encoding="utf-8"))
self.data_profile = profile

def save_data_profile(self, path: Path) -> None:
Expand Down

0 comments on commit 1c0aa1a

Please sign in to comment.