Skip to main content
Version: 0.0.6 (stable)

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, None or an object.
  • path (str) – The path of value in the source.
  • issues (Issues) – Receives every problem found.

Returns:

  • list[Draft] – One draft for each readable entity type, in source order.