Model.get_spec#

Model.get_spec(data)#

Get IOSpec associated with data

Returns the IOSpec object associated with data. data should be an object referenced in the model. An IOSpec object is an instance of a subclass of BaseIOSpec. If no IOSpec is associated with data, an error is raised.