Node
Reference for the Node class in Lunar's Python Policy SDK — used to navigate, query, and iterate over component JSON data.
Class Methods
from_component_json
@classmethod
from_component_json(cls, data)component_json = {
"readme": {
"lines": 50,
"missing": False
}
}
component_data = Node.from_component_json(component_json)from_component_json_file
from_bundle_json
from_bundle_file
Data Access Methods
get_value
get_value_or_default
get_node
exists
Iteration Methods
Iterating over Node
items
Last updated
