arelle.oim.tc.report.cell

See COPYRIGHT.md for copyright information.

Module Contents

Functions

effective_column_value

Applies xBRL-CSV special value processing to a cell literal.

effective_parameter_value

Applies xBRL-CSV special value processing to a parameter literal, where an empty string is a value and only JSON null, #none and #nil are null.

row_has_value

True when any cell of the CSV row is a non empty string, whitespace included.

API

exception arelle.oim.tc.report.cell.UnknownSpecialValue

Bases: ValueError

The literal starts with # but is not one of the xBRL-CSV special values.

Initialization

Initialize self. See help(type(self)) for accurate signature.

add_note()
class args
with_traceback()
arelle.oim.tc.report.cell.effective_column_value(literal: str) → str | None

Applies xBRL-CSV special value processing to a cell literal.

arelle.oim.tc.report.cell.effective_parameter_value(literal: str | None) → str | None

Applies xBRL-CSV special value processing to a parameter literal, where an empty string is a value and only JSON null, #none and #nil are null.

arelle.oim.tc.report.cell.row_has_value(row: collections.abc.Iterable[str]) → bool

True when any cell of the CSV row is a non empty string, whitespace included.