[Bug]: The jsanitize
function does not behave as expected with recursive_msonable=True
#726
Closed
3 of 4 tasks
Labels
Email (Optional)
No response
Version
2024.10.21
Which OS(es) are you using?
What happened?
Currently,
jsanitize(recursive_msonable=True)
does not (as the name might suggest) recursively crawl an MSONable object and make it fully sanitized. If anMSONable
object is within an attribute of the parentMSONable
object, the former will not be sanitized.For instance, try the following:
You will see the output is as follows:
Note how the
properties
key has an actualStructure
object in it.Code snippet
No response
Log output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: