Skip to content

Commit

Permalink
Replace deprecated .parse_obj methods
Browse files Browse the repository at this point in the history
  • Loading branch information
TheByronHimes committed Nov 17, 2023
1 parent 9162a4c commit f942c4a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/builtin_tranformations/aggregate/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,14 +54,14 @@ def data_complete_1_resolved_public() -> Json:
@fixture
def config() -> AggregateConfig:
"""A working config"""
return AggregateConfig.parse_obj(
return AggregateConfig.model_validate(
load_yaml(Path("transformations/aggregate/default/config.yaml"))
)


@fixture
def invalid_config() -> AggregateConfig:
"""An invalid config with conflicting output paths."""
return AggregateConfig.parse_obj(
return AggregateConfig.model_validate(
load_yaml(Path("transformations/aggregate/config_invalid.yaml"))
)

0 comments on commit f942c4a

Please sign in to comment.