Not a python user here, but leveraging `getattr()` could be a variant:
-
https://docs.python.org/3/library/functions.html#getattr
Otherwise `__dict__` should be good enough.
Should anyone have more suggestions, can still add a comment.
I will add a note in the docs.
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/3272#issuecomment-1292377412
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/issues/3272/1292377412(a)github.com>