# generated by datamodel-codegen:
#   filename:  allof_materialize_defaults.yaml
#   timestamp: 2019-07-26T00:00:00+00:00

from __future__ import annotations

from pydantic import BaseModel, conint, constr


class Parent(BaseModel):
    name: constr(min_length=1) | None = 'parent_default'
    count: conint(ge=0) | None = 10


class Child(Parent):
    name: constr(min_length=1, max_length=100) | None = 'parent_default'
    count: conint(ge=0, le=1000) | None = 10
