Not a python user here, but leveraging getattr() could be a variant:

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, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <kamailio/kamailio/issues/3272/1292377412@github.com>