snowflake.ml.model.Volatility

class snowflake.ml.model.Volatility(value)

Bases: Enum

Volatility levels for model functions.

VOLATILE

Function results may change between calls with the same arguments. Use this for functions that depend on external data or have non-deterministic behavior.

IMMUTABLE

Function results are guaranteed to be the same for the same arguments. Use this for pure functions that always return the same output for the same input.

Attributes

VOLATILE = 1
IMMUTABLE = 2