Skip to content

Help in setting parameter allow_pickle for a function that returns numpy arrays #2904

Discussion options

You must be logged in to vote

@sakthi-tech4th, pickling isn't recommended by NumPy for security reasons: https://numpy.org/doc/stable/reference/generated/numpy.load.html. However, I can work on adding support for NumPy annotation with which you can set allow_pickle to True. np.ndarray without an object dtype is a valid Flyte type, though.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by samhita-alla
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants