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

from __future__ import annotations

from typing import Any, Optional

from pydantic import BaseModel, constr


class Parent(BaseModel):
    name: Optional[constr(min_length=1)] = None
    allowed: Optional[Any] = None


class Child(Parent):
    name: Optional[constr(min_length=1, max_length=100)] = None
