When to use a variable vs simple value returning function

It’s not mentioned because module attributes are usually used as module-scope (private) constants. :man_shrugging:

That’s what I do most of the time, for future-proofing. But it was rarely needed.