File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
packages/service-library/src/servicelib/aiohttp Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 88from common_library .error_codes import ErrorCodeStr
99from common_library .json_serialization import json_dumps
1010from models_library .rest_error import ErrorGet , ErrorItemType
11- from servicelib .rest_constants import RESPONSE_MODEL_POLICY
1211
1312from ..aiohttp .status import HTTP_200_OK
1413from ..mimetype_constants import MIMETYPE_APPLICATION_JSON
14+ from ..rest_constants import RESPONSE_MODEL_POLICY
1515from ..rest_responses import is_enveloped
1616from ..status_codes_utils import get_code_description
1717
@@ -54,7 +54,7 @@ def create_http_error(
5454 http_error_cls : type [HTTPError ] = web .HTTPInternalServerError ,
5555 * ,
5656 skip_internal_error_details : bool = False ,
57- error_code : ErrorCodeStr | None = None
57+ error_code : ErrorCodeStr | None = None ,
5858) -> HTTPError :
5959 """
6060 - Response body conforms OAS schema model
You can’t perform that action at this time.
0 commit comments