You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not sure the cause of it, but I've noticed my custom tool will hang at seemingly inconsistent times, and it seems to be because of print() statements.
classMyTool(PluginV2):
def__init__(self, provider: AMPProviderV2):
self.name="My Tool"self.provider=providerforiinrange(0, 1000):
text=f"{i} - Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua."print(text)
self.provider.io.info(text)
With this constructor, my tool hangs after the 63rd print(), impacting the entire workflow.
But commenting out the print() statement will continue without issues. What's the cause of this issue?
The text was updated successfully, but these errors were encountered:
I'm not sure the cause of it, but I've noticed my custom tool will hang at seemingly inconsistent times, and it seems to be because of
print()
statements.With this constructor, my tool hangs after the 63rd
print()
, impacting the entire workflow.But commenting out the
print()
statement will continue without issues. What's the cause of this issue?The text was updated successfully, but these errors were encountered: