Skip to content

RelationPattern

Source code in docs_src/capo_datazone/types/relation_pattern.py
class RelationPattern(TypedDict, closed=True):
    relation_type: "capo_datazone.types.relation_type.RelationType"
    """<p>The type of relation to query.</p>"""
    relation_direction: "capo_datazone.types.relation_direction.RelationDirection"
    """<p>The direction to query.</p>"""
    max_path_length: NotRequired["int"]
    """<p>The number of hops to query.</p>"""

max_path_length instance-attribute

max_path_length: NotRequired[int]

The number of hops to query.

relation_direction instance-attribute

relation_direction: RelationDirection

The direction to query.

relation_type instance-attribute

relation_type: RelationType

The type of relation to query.