h1st.schema.validation_schema module

class h1st.schema.validation_schema.ValidationSchema(schema=None)[source]

Bases: object

__init__(schema=None)[source]

Initialize self. See help(type(self)) for accurate signature.

get(node_id)[source]

Retrieve schema for a node via its ID

validate_output(node_id: str, data=None)h1st.schema.schema_validation_result.SchemaValidationResult[source]
static load(graph: Graph)ValidationSchema[source]

Discover associated schema file of a graph. The schema file is a python module placed in the same level of graph module