Skip to content

Commit

Permalink
Get the metadata from the build method rather than object attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
JeremyMcCormick committed Mar 20, 2024
1 parent bbb2d5d commit 9b79165
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/test_metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,7 @@ def _sorted_constraints(constraints: set[Constraint]) -> list[Constraint]:
schema = Schema.model_validate(self.yaml_data)
schema.name = "main"
builder = MetaDataBuilder(schema)
builder.build()
md = builder.metadata
md = builder.build()

ctx = DatabaseContext(md, connection)

Expand Down

0 comments on commit 9b79165

Please sign in to comment.