Clovis
03/17/2023, 9:06 AMclass ModelB(pydantic.BaseModel):
mandatory: string
class ModelA(pydantic.BaseModel):
some_values: typing.Any
b: ModelB | None = None
In some case, I don’t need to instantiate ModelB and to do so, I just don’t add it to the deployment’s yaml. This was working fine all along, but this morning the UI prevents me to run a deployment Quick Run as my field ModelB.mandatory is missing (even if I did not specify ModelB in ModelA in the yaml).
Did something change and I have now to change my model parameters ?Clovis
03/17/2023, 9:36 AM