Make gr.utils.delete_none
only delete props that are None
, not values that contain None
#3183
Closed
1 task done
Labels
bug
Something isn't working
Describe the bug
Right now, the implementation of
gr.utils.delete_none
deletes anyNone
found anywhere inside of a config dictionary, even if it is nested inside of a tuple / dict / etc. This implementation is buggy, as discussed here: internal SlackWe should rewrite this function
Is there an existing issue for this?
Reproduction
N/A
Screenshot
No response
Logs
System Info
Severity
serious, but I can work around it
The text was updated successfully, but these errors were encountered: