reno.utils.is_static#

reno.utils.is_static(eq, checked=None)#

An equation is “static” if it only contains values that won’t change, e.g. scalars, distributions, or other static variables. Specifically stock and time references are what make an equation _not_ static.

Parameters:
  • eq (EquationPart) – The equation to determine static status of.

  • checked (list[Reference]) – Used internally to avoid infinite recursion in checking, don’t manually pass.

Return type:

bool