Version: 0.0.6 (stable)
agrag.schema.shorthand.read_relations
read_relations(value:object, path:str, issues:Issues) -> list[Draft]
Read the relations value in any accepted form.
Parameters:
- value (
object) – A list ofSource-LABEL->Targetstrings,(source, label, target)triples and objects, or a mapping from label to patterns or to an object. - path (
str) – The path ofvaluein the source. - issues (
Issues) – Receives every problem found.
Returns: