Kavishankarks commented on PR #72:
URL: https://github.com/apache/flink-agents/pull/72#issuecomment-3094641707
> Hi, @Kavishankarks First of all, thank you for your contribution. However,
I believe we shouldn't cache all Python functions, as it may cause issues when
dealing with Python closures or generators.
yeah, you're right. I'll add function to check if function is closures,
generators, coroutine also the bound methods and functions having mutable
arguments like dict or list like
def append_to_list(item, target_list=[]):
target_list.append(item)
return target_list
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]