Skip to content

Improve how python backend returns values #73

Description

@daniel-sintef

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.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions