services/metadata_service/api/artifact.py [340:350]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        if db_response.response_code == 200:
            db_response = await apply_run_tags_to_db_response(flow_id, run_number, self._async_run_table, db_response)
            filtered_body = filter_artifacts_for_latest_attempt(db_response.body)
            return web.Response(
                status=db_response.response_code, body=json.dumps(filtered_body)
            )
        else:
            return web.Response(
                status=db_response.response_code,
                body=json.dumps(http_500(db_response.body)),
            )
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



services/metadata_service/api/artifact.py [381:391]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        if db_response.response_code == 200:
            db_response = await apply_run_tags_to_db_response(flow_id, run_number, self._async_run_table, db_response)
            filtered_body = filter_artifacts_for_latest_attempt(db_response.body)
            return web.Response(
                status=db_response.response_code, body=json.dumps(filtered_body)
            )
        else:
            return web.Response(
                status=db_response.response_code,
                body=json.dumps(http_500(db_response.body)),
            )
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



