Currently cast the AttributeDict.json() return values in the python backend to bytes manually to make it match the services backend exactly. E.g.,
otelib/backends/python/base.py: return bytes(AttrDict(**session_update).json(), encoding="utf-8")
However, this can probably be improved. Possibly by adding a new bytes return option to AttrDict.
Currently cast the AttributeDict.json() return values in the python backend to bytes manually to make it match the services backend exactly. E.g.,
otelib/backends/python/base.py: return bytes(AttrDict(**session_update).json(), encoding="utf-8")However, this can probably be improved. Possibly by adding a new bytes return option to AttrDict.