Field groups
The field groups that include and exclude accept in place of a list of field names.
FieldGroup
Field-group selectors for include/exclude sequences.
ALL
python
ALL = "all"Include all fields from model.
RELATIONSHIPS
python
RELATIONSHIPS = "relationships"Include only relationships.
SCALARS
python
SCALARS = "scalars"Include everything but relationships.
is_group
python
is_group(value: str) -> TypeIs[FieldGroupStr]list_str
python
list_str() -> strvalues
python
values() -> frozenset[str]ALL
python
ALL = FieldGroup.ALLRELATIONSHIPS
python
RELATIONSHIPS = FieldGroup.RELATIONSHIPSSCALARS
python
SCALARS = FieldGroup.SCALARS