Replace reference to ModelOptions w/Metadata

Fixes #3027

[skip ci]
This commit is contained in:
Charles Leifer
2026-02-03 07:23:24 -06:00
parent 8fc55abb24
commit d2cebc8930
+2 -2
View File
@@ -767,9 +767,9 @@ instead use ``ModelClass._meta``:
AttributeError: type object 'Person' has no attribute 'Meta'
>>> Person._meta
<peewee.ModelOptions object at 0x7f51a2f03790>
<peewee.Metadata object at 0x7f51a2f03790>
The :py:class:`ModelOptions` class implements several methods which may be of
The :py:class:`Metadata` class implements several methods which may be of
use for retrieving model metadata (such as lists of fields, foreign key
relationships, and more).