1 2 3 4 5 6 7 8 9 10 11 12 13 14
|
# This file was generated by jschema_to_python version 1.2.3.
import attr
@attr.s
class Node(object):
"""Represents a node in a graph."""
id = attr.ib(metadata={"schema_property_name": "id"})
children = attr.ib(default=None, metadata={"schema_property_name": "children"})
label = attr.ib(default=None, metadata={"schema_property_name": "label"})
location = attr.ib(default=None, metadata={"schema_property_name": "location"})
properties = attr.ib(default=None, metadata={"schema_property_name": "properties"})
|