developer
developer
WWindmill
Created by developer on 5/23/2024 in #help
Windmill Loops vs. Python Loops of wmill.run_async
Hello, Windmill Community Can someone break down for me what would be the difference between looping with Windmill Built-in loops vs this:
def main():
for ...:
wmill.run_function_async(...)
def main():
for ...:
wmill.run_function_async(...)
I'm only able to perceive that the options from below is way faster... but why is that? Are builtin loops synchronous or behaving different in wome way... because, no matter which option, the database will have all the queue info AFAIK Best regards, Erick.
4 replies
WWindmill
Created by developer on 4/23/2024 in #help
[python] subdependencies breaking wmill module installation
Hello, everyone It seems I broke a bit the wmill's python env (per action) via installing some sub dependencies. I documented the issue here: https://github.com/windmill-labs/windmill/issues/3596 since I don't have enough Rust expertise to address it tho. I'm open to collaborate further if someone can help me to set up the repo locally (be & fe) so I can debug, run tests and fix this if possible 😬 but I don't promise it will be fast tho. Has anyone faced this before?
1 replies
WWindmill
Created by developer on 4/22/2024 in #help
Python Import Issue - Haystack library overriden
Hello, I'm trying to use haystack-ai in my project for its AI capabilities but whenever I import haystack, windmill installs haystack==0.42, however I need for it to install haystack-ai==2.0.1. Installation is fixed if I import haystack_ai, but such library only work by the name haystack, which will point to the first install mentioned above. In summary:
import haystack_ai as haystack
import haystack_ai as haystack
Installs properly, but after installation will raise the following
...
<module>
import haystack_ai as haystack
ModuleNotFoundError: No module named 'haystack_ai'
...
<module>
import haystack_ai as haystack
ModuleNotFoundError: No module named 'haystack_ai'
And attempting to change the import to haystack it will point to other installation. --- I tried to wrap the image in a custom image with at pip install for the right tool, but I faced the same issue. Is there a way to sort this out? (followed this as example https://discord.com/channels/930051556043276338/1178014822466596925) Thanks in advance
5 replies