optiprofiler.eval_report.schema_for_document

optiprofiler.eval_report.schema_for_document#

optiprofiler.eval_report.schema_for_document(document)[source]#

The (name, version) of a report or companion document, read from its schema identifier. A document without an identifier or with an identifier this version does not know raises ValueError; nothing is guessed from the other fields.