Help in setting parameter allow_pickle for a function that returns numpy arrays #2904
Answered
by
samhita-alla
sakthi-tech4th
asked this question in
Q&A
-
Beta Was this translation helpful? Give feedback.
Answered by
samhita-alla
Sep 21, 2022
Replies: 1 comment
-
@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 |
Beta Was this translation helpful? Give feedback.
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
@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.