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

from __future__ import annotations

from pydantic import BaseModel, ConfigDict, constr


class Info(BaseModel):
    model_config = ConfigDict(
        regex_engine="python-re",
    )
    name: constr(pattern=r'.*foo.*(?<!baz)bar.*') | None = None
