File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -106,7 +106,7 @@ def customization(self) -> Optional[Customization]:
106106 return self ._configuration .customization
107107
108108 @property
109- def inference (self ) -> Optional [ InferenceConfiguration ] :
109+ def inference (self ) -> InferenceConfiguration :
110110 """Return inference configuration."""
111111 assert (
112112 self ._configuration is not None
Original file line number Diff line number Diff line change @@ -249,7 +249,7 @@ class Configuration(BaseModel):
249249 AuthenticationConfiguration ()
250250 )
251251 customization : Optional [Customization ] = None
252- inference : Optional [ InferenceConfiguration ] = InferenceConfiguration ()
252+ inference : InferenceConfiguration = InferenceConfiguration ()
253253
254254 def dump (self , filename : str = "configuration.json" ) -> None :
255255 """Dump actual configuration into JSON file."""
You can’t perform that action at this time.
0 commit comments