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

Method is_immutable

st2client/st2client/commands/action.py:1109–1114  ·  view source on GitHub ↗
(runner_param_meta, action_param_meta)

Source from the content-addressed store, hash-verified

1107 required = set([k for k, v in six.iteritems(parameters) if v.get("required")])
1108
1109 def is_immutable(runner_param_meta, action_param_meta):
1110 # If runner sets a param as immutable, action cannot override that.
1111 if runner_param_meta.get("immutable", False):
1112 return True
1113 else:
1114 return action_param_meta.get("immutable", False)
1115
1116 immutable = set()
1117 for param in parameters.keys():

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected