quantity_loader

File Purpose: QuantityLoader, the base class for quantity loaders.

Note: “var” refers to quantity name; “quant” refers to the quantity itself.

Note: MetaQuantTracking predefines some things for tracking calcs, directly in the class namespace.
E.g., known_var, known_pattern, known_setter.
In case anyone is looking through the codebase to understand these functions,
this file is the one that defines them, though it doesn’t use the usual ‘def’ notation,
so, here are some strings that will pop up for searches like that, instead.
def known_var(…) # see MetaQuantTracking
def known_pattern(…) # see MetaQuantTracking
def known_setter(…) # see MetaQuantTracking
if you landed here by doing command+F on the codebase, see MetaQuantTracking for details.
(see also: quantity_tools.py, which defines the classes which these are instances of,
i.e. DecoratingVars, DecoratingPatterns, and DecoratingSetters.)

Classes

MetaQuantTracking(*args, **kw)

metaclass which predefines some things for tracking calcs, in the class namespace:

QuantityLoader()

base class for quantity loaders.