Version: latest
agrag.schema.shorthand.read_entities
read_entities(value:object, path:str, issues:Issues) -> list[Draft]
Read the entities value in any accepted form.
Parameters:
- value (
object) – A list of labels or objects, or a mapping from label to a description,Noneor an object. - path (
str) – The path ofvaluein the source. - issues (
Issues) – Receives every problem found.
Returns:
list[Draft]– One draft for each readable entity type, in source order.