Skip to content

Commit

Permalink
fix: types
Browse files Browse the repository at this point in the history
Signed-off-by: Aaron Pham <29749331+aarnphm@users.noreply.github.com>
  • Loading branch information
aarnphm committed Nov 8, 2022
1 parent 591418b commit 8b08665
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bentoml/_internal/service/openapi/specification.py
Expand Up @@ -104,7 +104,7 @@ class Schema:
anyOf: t.Optional[t.List[Schema]] = None
not_: t.Optional[Schema] = None
items: t.Optional[t.Union[Schema, t.List[Schema]]] = None
properties: t.Optional[t.Dict[str, Schema | Reference]] = None
properties: t.Optional[t.Dict[str, t.Union[Schema, Reference]]] = None
additionalProperties: t.Optional[t.Union[Schema, Reference, bool]] = None
description: t.Optional[str] = None
format: t.Optional[str] = None
Expand Down

0 comments on commit 8b08665

Please sign in to comment.