Skip to content

Commit

Permalink
fix: make metadata field of model definition optional (#1825)
Browse files Browse the repository at this point in the history
  • Loading branch information
kyujin-cho authored Jan 10, 2024
1 parent 99fb174 commit b835aff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ai/backend/common/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@
t.Key("expected_status_code", default=200): t.Null | t.ToInt[100:],
}),
}),
t.Key("metadata"): t.Null
t.Key("metadata", default=None): t.Null
| t.Dict({
t.Key("author", default=None): t.Null | t.String(allow_blank=True),
t.Key("title", default=None): t.Null | t.String(allow_blank=True),
Expand Down

0 comments on commit b835aff

Please sign in to comment.