armi.localization package¶
The localization package is a rarely-used minor attempt to provide language localization.
Warning
The ARMI project is likely going to phase this out. If the project decides to introduce better support for localization, a more standard approach should be used (e.g. one based on https://docs.python.org/3/library/gettext.html). Thus, it is recommended to not extend usage of this module at this time.
-
armi.localization.count_calls(func)[source]¶ Do not use this decorator directly.
Decorator to count the number of calls to a method
-
armi.localization.important(func)[source]¶ Decorator to write to current log, using the inportant method