Isn't the whitelist downpowering pandasai a lot? #263
mspronesti
started this conversation in
Ideas
Replies: 1 comment 6 replies
-
Hi @mspronesti, the reasons why we added the whitelist option is primerely 2:
One thing that we could do is letting the user pass its own custom whitelisted libraries in a way that if they experience any kind of error, they can then easily have them imported. What do you think? |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The purpose of this thread is discussing what are the advantages and disadvantages of a fixed whitelist.
Motivation
Since this feature was integrated into pandasai, a couple of threads cropped up on the discussions/issues sections asking for additional libs in the whitelist, e.g. json+io+base64, scipy, datetime. Needless to say, one can think of several scenarios in which other libs would be needed so just enlarging the whitelist doesn't sound like a solution to me.
Discussion
Beta Was this translation helpful? Give feedback.
All reactions