node.resources.json package

Submodules

node.resources.json.resources module

Defines the JSON schema for a set of resources

class node.resources.json.resources.Resources(resources=None, do_validate=True)

Bases: object

Represents the schema for a set of resources

get_dict()

Returns the internal dictionary representing these resources

Returns:The internal dictionary
Return type:dict
get_node_resources()

Returns the node resources represented by this schema

Returns:The node resources
Return type:node.resources.NodeResources

Module contents