arelle.typing#

See COPYRIGHT.md for copyright information. Type hints for Arelle.

Module Contents#

Classes#

LocaleDict

Helps with typing arelle.Locale Module.

Data#

API#

arelle.typing.TypeGetText#

None

arelle.typing.OptionalString#

‘TypeVar(…)’

arelle.typing.EmptyTuple#

None

class arelle.typing.LocaleDict#

Bases: typing.TypedDict

Helps with typing arelle.Locale Module.

Structure based on locale.localeconv and https://peps.python.org/pep-0589/

Initialization

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

int_curr_symbol: str#

None

currency_symbol: str#

None

mon_decimal_point: str#

None

mon_thousands_sep: str#

None

mon_grouping: list[int]#

None

positive_sign: str#

None

negative_sign: str#

None

int_frac_digits: int#

None

frac_digits: int#

None

p_cs_precedes: int#

None

p_sep_by_space: int#

None

n_cs_precedes: int#

None

n_sep_by_space: int#

None

p_sign_posn: int#

None

n_sign_posn: int#

None

decimal_point: str#

None

thousands_sep: str#

None

grouping: list[int]#

None