Skip to content

Commit

Permalink
Fix pyright error about string syntax.
Browse files Browse the repository at this point in the history
  • Loading branch information
NowanIlfideme committed Nov 11, 2024
1 parent f15005d commit 73b0ddc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pydantic_yaml/examples/base_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -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!


Expand Down

0 comments on commit 73b0ddc

Please sign in to comment.