We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2fddb86 commit 78c0646Copy full SHA for 78c0646
tests/test_orm_metaclass.py
@@ -1,7 +1,6 @@
1
from typing import Annotated, Optional, TypeVar
2
3
import pytest
4
-from devtools import debug
5
from django.db import models
6
from pydantic import GetJsonSchemaHandler, ValidationError, model_serializer
7
from pydantic.json_schema import JsonSchemaValue
@@ -300,7 +299,6 @@ class Meta:
300
299
assert SomeModelSchema.__annotations__["field1"] == str
301
302
sms = SomeModelSchema(id=1, field1="char", field2="opt")
303
- debug(sms)
304
assert sms.json() == '{"field2":"opt","id":1,"field1":"char"}'
305
assert sms.json_schema() == {
306
"properties": {
0 commit comments