Han Wang

Results 32 comments of Han Wang

Hi @pamelafox , in our concept, flow should be self-contained. Which makes it easier to build flow snapshot and share from local to cloud. When flow has relative external imports,...

Hi @rajib76 , does your code run outside of `main` scope? Coud you try wrap your code under `main` scope like this? ```python if __name__ == '__main__': pf.run() ```

Hi @rajib76 , seems you installed `nest-asyncio` in your local environment and it changed python original threading's behavior. Could you uninstall it and try again? If not works, could you...

> Had the same problem on Mac OS using interactive Python in vscode. Added the if `if __name__ == '__main__'` and executed as a python script and it worked fine....

Hi @pamelafox , thanks for the feedback. We'll support this after BUILD. I'll update here once supported.

Hi @vhan2kpmg , we currently model flow-as-function feature like a function call. Which means when calling the flow function, no intermedia data will be persisted. We won't change its behavior...

Hi @ZhiliangWu , we won't support run all variants in near future. As a workaround, you can update the default variant in flow YAML before run or override single node's...

Unfortunately, we did not provide ability to override YAML in `pf run`. However, you can leverage our flow-as-func feature to override YAML file like this: ```python f = load_flow( flow_path,...

Sorry I missed this. We are still evaluating our long-term plan for variants support so I could not promise we can support this in short term. I'll update here once...

Hi @dans-msft , @Adarsh-Ramanathan , could you help to take a look? Thanks!