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

Method get_one

st2api/st2api/controllers/v1/policies.py:174–178  ·  view source on GitHub ↗
(self, ref_or_id, requester_user)

Source from the content-addressed store, hash-verified

172 )
173
174 def get_one(self, ref_or_id, requester_user):
175 permission_type = PermissionType.POLICY_VIEW
176 return self._get_one(
177 ref_or_id, permission_type=permission_type, requester_user=requester_user
178 )
179
180 def post(self, instance, requester_user):
181 """

Callers

nothing calls this directly

Calls 1

_get_oneMethod · 0.45

Tested by

no test coverage detected