arelle.Validate

See COPYRIGHT.md for copyright information.

Module Contents

Classes

Validate

Validation operations are separated from the objects that are validated, because the operations are complex, interwoven, and factored quite differently than the objects being validated. There are these validation modules at present: validation infrastructure, test suite and submission control, versioning report validation, XBRL base spec, dimensions, and formula linkbase validation, Edgar and Global Filer Manual validation.

ValidationLogListener

Functions

Data

API

arelle.Validate.validate(modelXbrl: arelle.ModelXbrl.ModelXbrl) None
exception arelle.Validate.ValidationException(message: str, severity: str, code: str)

Bases: Exception

add_note()
class args
with_traceback()
arelle.Validate.commaSpaceSplitPattern

‘compile(…)’

class arelle.Validate.Validate(modelXbrl: arelle.ModelXbrl.ModelXbrl)

Validation operations are separated from the objects that are validated, because the operations are complex, interwoven, and factored quite differently than the objects being validated. There are these validation modules at present: validation infrastructure, test suite and submission control, versioning report validation, XBRL base spec, dimensions, and formula linkbase validation, Edgar and Global Filer Manual validation.

Initialization

useFileSource: arelle.FileSource.FileSource | None

None

filterTestcaseVariation(modelTestcaseVariation: arelle.ModelTestcaseObject.ModelTestcaseVariation) bool
close() None
validate() None
validateRssFeed() None
validateTestcase(testcase: arelle.ModelDocument.ModelDocument) None
noErrorCodes(modelTestcaseVariationActual: Iterable[Any]) bool
determineTestStatus(modelTestcaseVariation: arelle.ModelTestcaseObject.ModelTestcaseVariation, errors: arelle.ErrorManager.ErrorsType, validateModelCount: int | None = None) None
class arelle.Validate.ValidationLogListener(logView: Any)

Bases: logging.Handler

flush() None

Nothing to flush

emit(logRecord: logging.LogRecord) None
get_name()
set_name(name)
name

‘property(…)’

createLock()
acquire()
release()
setLevel(level)
format(record)
handle(record)
setFormatter(fmt)
close()
handleError(record)
addFilter(filter)
removeFilter(filter)
filter(record)