Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Properly parse IIB Responses in OTEL
This commit detects a typical IIB API response, which consists of a tuple with a Flask.Response object and the HTTP code. Example: ``` def add_bundles() -> Tuple[flask.Response, int]: ... return flask.jsonify(request.to_json()), 200 ``` With this we no longer see the following messages in IIB-API logs: ``` Invalid type Response in attribute 'result' value sequence. Expected one of ['bool', 'str', 'bytes', 'int', 'float'] or None ``` Refers to CLOUDDST-23028
- Loading branch information