core.service.model.ModelFactory(*args, **kwds)[source]
core.service.model.ModelClass(dtype=None, mimetype=None)[source]

Return class wich match dtype. For example, for 'python' dtype it return PythonModel class.

Matching can be extended with plugins. if both dtype and mimetype is None, returns all available ModelClasses

Previous topic

<no title>

Next topic

<no title>

This Page