Skip to content

Commit

Permalink
fix: change entry_service to optional (#4422)
Browse files Browse the repository at this point in the history
* fix: change entry_service to optional

* Update src/bentoml/_internal/cloud/schemas/modelschemas.py

---------

Co-authored-by: bojiang <5886138+bojiang@users.noreply.github.com>
  • Loading branch information
xianml and bojiang committed Jan 18, 2024
1 parent 166f63c commit e481e65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bentoml/_internal/cloud/schemas/modelschemas.py
Expand Up @@ -74,9 +74,9 @@ class BentoRunnerSchema:
@attr.define
class BentoManifestSchema:
service: str
entry_service: str
bentoml_version: str
size_bytes: int
entry_service: str = attr.field(default="")
name: t.Optional[str] = attr.field(default=None)
apis: t.Dict[str, BentoApiSchema] = attr.field(factory=dict)
models: t.List[str] = attr.field(factory=list)
Expand Down

0 comments on commit e481e65

Please sign in to comment.