Skip to content

Commit 789e407

Browse files
jochenchristclaude
andcommitted
Make Relationship.type optional
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 41a79f2 commit 789e407

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/open_data_contract_standard/model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ class Description(pyd.BaseModel):
116116

117117

118118
class Relationship(pyd.BaseModel):
119-
type: str | None
119+
type: str | None = None
120120
from_: str | list[str] | None = pyd.Field(default=None, alias="from")
121121
to: str | list[str] | None = None
122122
customProperties: list[CustomProperty] | None = None

0 commit comments

Comments
 (0)