MCPcopy Create free account
hub / github.com/StackStorm/st2 / is_immutable

Function is_immutable

st2common/st2common/models/utils/action_param_utils.py:81–82  ·  view source on GitHub ↗
(param_meta)

Source from the content-addressed store, hash-verified

79 return param_meta.get("required", False)
80
81 def is_immutable(param_meta):
82 return param_meta.get("immutable", False)
83
84 immutable = {
85 param for param in parameters if is_immutable(merged_params.get(param))

Callers 2

_get_params_typesMethod · 0.85
get_params_viewFunction · 0.85

Calls 1

getMethod · 0.45

Tested by

no test coverage detected