stated_fields

function of dascore.utils.display source

stated_fields(
    model ,
    skip = (),
)-> ‘dict’

Return the fields of a pydantic model which state something.

Unset, blank, empty and still-default fields are dropped, as are the identity fields and anything named in skip. What is left is what the object actually says about itself.