Skip to content

Commit 5cb6065

Browse files
committed
fixed missing pydantic.json module in examples projects
1 parent e75db27 commit 5cb6065

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

examples/02-socketio-app/socketio_app/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
from ellar.common import IExceptionHandler, JSONResponse
1212
from ellar.core import ConfigDefaultTypesMixin
1313
from ellar.core.versioning import BaseAPIVersioning, DefaultAPIVersioning
14-
from pydantic.json import ENCODERS_BY_TYPE as encoders_by_type
14+
from ellar.pydantic import ENCODERS_BY_TYPE as encoders_by_type
1515
from starlette.middleware import Middleware
1616

1717

examples/03-auth-with-guards/auth_project/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
from ellar.common import IExceptionHandler, JSONResponse
1212
from ellar.core import ConfigDefaultTypesMixin
1313
from ellar.core.versioning import BaseAPIVersioning, DefaultAPIVersioning
14-
from pydantic.json import ENCODERS_BY_TYPE as encoders_by_type
14+
from ellar.pydantic import ENCODERS_BY_TYPE as encoders_by_type
1515
from starlette.middleware import Middleware
1616

1717

examples/04-auth-with-handlers/auth_project_with_handler/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
from ellar.common import IExceptionHandler, JSONResponse
1212
from ellar.core import ConfigDefaultTypesMixin
1313
from ellar.core.versioning import BaseAPIVersioning, DefaultAPIVersioning
14-
from pydantic.json import ENCODERS_BY_TYPE as encoders_by_type
14+
from ellar.pydantic import ENCODERS_BY_TYPE as encoders_by_type
1515
from starlette.middleware import Middleware
1616

1717

examples/quick-project/carsite/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
from ellar.common import IExceptionHandler, JSONResponse
1212
from ellar.core import ConfigDefaultTypesMixin
1313
from ellar.core.versioning import BaseAPIVersioning, DefaultAPIVersioning
14-
from pydantic.json import ENCODERS_BY_TYPE as encoders_by_type
14+
from ellar.pydantic import ENCODERS_BY_TYPE as encoders_by_type
1515
from starlette.middleware import Middleware
1616

1717

0 commit comments

Comments
 (0)