- integrations
- Python
- ocx_sdk
DepNode
DepNodeclassdataclass#
Re-exported from
ocx_sdk._resultsView sourceclass DepNode(identifier: str, repeated: bool = False, visibility: str | None = None, dependencies: tuple[Mapping[str, Any], ...] = ())One node of the package deps tree.
Attributes
| Name | Type | Description |
|---|---|---|
identifier | str | The pinned identifier. |
repeated | bool | This node already appeared elsewhere in the tree; its children are not repeated under it. |
visibility | str | None | How the parent exposes it, when the parent says. |
dependencies | tuple[Mapping[str, Any], ...] | Child nodes, carried untyped. The only probe available
had no dependencies, so the populated child shape is UNCONFIRMED —
re-model this as tuple[DepNode, ...] once a real dependency edge
is recorded. |
dependenciesattributeclass attributeinstance attribute#
dependencies: tuple[Mapping[str, Any], ...] = ()identifierattributeinstance attribute#
identifier: strrepeatedattributeclass attributeinstance attribute#
repeated: bool = Falsevisibilityattributeclass attributeinstance attribute#
visibility: str | None = Nonerefproperty#
ref: PackageRefThis node’s package, as a PackageRef.