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

from __future__ import annotations

from pydantic import BaseModel, constr


class Parent(BaseModel):
    name: constr(min_length=1) | None = 'parent_default'


class Child(Parent):
    name: constr(min_length=1) | None = None
