The designateclient.warlock Module

exception designateclient.warlock.InvalidOperation[source]

Bases: exceptions.RuntimeError

exception designateclient.warlock.ValidationError[source]

Bases: exceptions.ValueError

designateclient.warlock.model_factory(schema)[source]

Generate a model class based on the provided JSON Schema

Parameters:schema – dict representing valid JSON schema