Skip to content

Commit

Permalink
fix: make metadata field of model definition optional
Browse files Browse the repository at this point in the history
  • Loading branch information
kyujin-cho committed Jan 8, 2024
1 parent 11358ef commit 100eb87
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 100eb87

Please sign in to comment.