Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Define primaryKey and examples for model to follow the changes in datacontract-specification v1.1.0 #559

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
jochenchrist marked this conversation as resolved.
Show resolved Hide resolved
config: Dict[str, Any] = None
tags: List[str] | None = None

Expand Down
Loading