Closed CorvusPrudens closed 3 years ago
good to be aware of. definitely don't see an immediate cause for this unless the normal retval within the lambda expression is non-dict, and this is an exception based on specific input. But if it only happens in python 3.8.10 then that seems unlikely.
Also, I wonder how relevant these helper functions will be when we get everything set back up to work with a jinja template. We may end up wanting to restructure the way we set up the data to keep that easy to manage.
this is/has been moved outside of the scope of this repo
For some reason, the
filter_map_ctrl
function throws an exception when using python 3.8.10, which is the version shipped with my release of Ubuntu at the moment:Oddly enough, doing a pointless list comprehension before the second line in the function fixes the issue (
[x for x in set]
). Maybe it's a bug in how python used to handle filter objects?Anyway, this is all not very relevant since the latest python release is 3.10. I'm just putting this here in case this issue crops up in the future.