Skip to content

Commit

Permalink
Define primaryKey and examples for model
Browse files Browse the repository at this point in the history
  • Loading branch information
syou6162 committed Dec 20, 2024
1 parent 0f07280 commit ff6ec61
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions datacontract/model/data_contract_specification.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,8 @@ class Model(pyd.BaseModel):
title: Optional[str] = None
fields: Dict[str, Field] = {}
quality: List[Quality] | None = []
primaryKey: List[str] | None = []
examples: List[Any] | None = None
config: Dict[str, Any] = None
tags: List[str] | None = None

Expand Down

0 comments on commit ff6ec61

Please sign in to comment.