Skip to content

Commit

Permalink
rename
Browse files Browse the repository at this point in the history
  • Loading branch information
pcrespov committed Oct 1, 2024
1 parent 0af86ce commit b97bcd0
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/models-library/tests/test_rest_payloads.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

import pytest
from faker import Faker
from models_library.rest_responses_payloads import (
from models_library.rest_payloads import (
ManyErrors,
OneError,
create_error_model_from_validation_error,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@

from aiohttp import web
from models_library.rest_enveloped import ManyErrors, OneError
from models_library.utils.json_serialization import json_dumps
from models_library.rest_payloads import ManyErrors, OneError
from models_library.rest_responses_payloads import ManyErrors, OneError
from models_library.utils.json_serialization import json_dumps
from pydantic import BaseModel, Extra, ValidationError, parse_obj_as

from ..mimetype_constants import MIMETYPE_APPLICATION_JSON
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
from aiohttp import web
from aiohttp.web_request import Request
from aiohttp.web_response import StreamResponse
from models_library.rest_responses_payloads import OneError
from models_library.rest_payloads import OneError
from models_library.utils.fastapi_encoders import jsonable_encoder

from ..error_codes import create_error_code
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
from aiohttp import web
from aiohttp.web_exceptions import HTTPError, HTTPException
from models_library.generics import Envelope
from models_library.rest_responses_payloads import FlashMessage, ManyErrors, OneError
from models_library.rest_payloads import FlashMessage, ManyErrors, OneError
from models_library.utils.fastapi_encoders import jsonable_encoder

from ..json_serialization import json_dumps, safe_json_loads
Expand Down

0 comments on commit b97bcd0

Please sign in to comment.