Code: Select all
d = {
"p_id": 1,
"billing": {
"first_name": "test"
}
}
< /code>
Zusätzlich habe ich ein pydantisches Modell mit zwei Attributen: < /p>
class Order(BaseModel):
p_id: int
pre_name: str
Code: Select all
d = {
"p_id": 1,
"billing": {
"first_name": "test"
}
}
< /code>
Zusätzlich habe ich ein pydantisches Modell mit zwei Attributen: < /p>
class Order(BaseModel):
p_id: int
pre_name: str