-
**Describe the bug**
Having this model definition:
```python
class MyModel(ModelSchema):
class Meta:
model = MyModel
fields = ["id"]
```
Produces next definition on S…
-
**Describe the bug**
Hello guys, the option `exclude_unset=True` isn't working for me for some reason:
**Versions (please complete the following information):**
- Python version: 3.12.1
- Dja…
-
**Describe the bug**
When using a `URLField` in a Django model and then using a `ModelSchema` for serialization/validation on a `POST` request, the url is just validated as a `str`. Most other fields…
-
It seems that since the latest FastAPI releases (when pydantic V2 became supported, which is fastapi==0.100 onwards), freezegun has stopped working with certain FastAPI features.
Upon creating a Fa…
-
Followed the installation instruction and got the error as soon as i ran the Django server
-
I'm currently exploring integration between Param and Pydantic.
I will use this issue to highlight some things Param could learn or otherwise utilize from Pydantic.
## 1. Pydantic is compiled wi…
-
**Create RESTDanticGenericViewSet (or propose a better name).**
- It has to inherit from drf GenericViewSet and be compatible with DRF
- It uses instead of a DRF serializer a pydantic models
- Foc…
-
**Describe the bug**
Models that are OneToOne related are producing an `RelatedObjectDoesNotExist` error using ModelSchema.
```
# models.py
class User(models.Model):
email = models.EmailFie…
-
Model:
```python
class One(models.Model):
uid = models.UUIDField(
default=uuid.uuid4,
editable=False)
user = models.ForeignKey(User, on_delete=models.CASCADE)
slug =…
-
Expectation: To be able to run this view async, should this be possible?
Output:
```
Traceback (most recent call last):
File "/Users/christophercarvalho/ninja/env/lib/python3.11/site-packages…