We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Options._get_fields
1 parent 7573e2e commit bdb4b88Copy full SHA for bdb4b88
django-stubs/db/models/options.pyi
@@ -122,6 +122,14 @@ class Options(Generic[_M]):
122
def get_fields(
123
self, include_parents: bool = ..., include_hidden: bool = ...
124
) -> list[Field[Any, Any] | ForeignObjectRel | GenericForeignKey]: ...
125
+ def _get_fields(
126
+ self,
127
+ forward: bool = ...,
128
+ reverse: bool = ...,
129
+ include_parents: bool | object = ...,
130
+ include_hidden: bool = ...,
131
+ topmost_call: bool = ...,
132
+ ) -> list[Field[Any, Any] | ForeignObjectRel | GenericForeignKey]: ...
133
@cached_property
134
def total_unique_constraints(self) -> list[UniqueConstraint]: ...
135
0 commit comments