diff --git a/src/pydantic_yaml/examples/base_models.py b/src/pydantic_yaml/examples/base_models.py index 20d8108..1562c09 100644 --- a/src/pydantic_yaml/examples/base_models.py +++ b/src/pydantic_yaml/examples/base_models.py @@ -34,7 +34,7 @@ class B(BaseModel): class Recursive(BaseModel): """Recursive model, which is actually unsupported.""" - inner: "Recursive" | None + inner: "Recursive | None" a: int # Doesn't work!