Nils
01/11/2023, 1:24 PMrun_deployment
? I have a setup similar to the following, but when I pass the pydantic model I get some weird behavior.
class Config(BaseModel):
...
@flow(name="subflow")
def subflow(config: Config = Config()):
do_something()
@flow
def main_flow(config: Config = Config()):
run_deployment(name="subflow", parameters={"config": config})
Jean Luciano
01/11/2023, 2:40 PMmodel.dict()
.Nils
01/11/2023, 2:47 PM