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

Class ActionResourceManager

st2client/st2client/models/core.py:487–499  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

485
486
487class ActionResourceManager(ResourceManager):
488 @add_auth_token_to_kwargs_from_env
489 def get_entrypoint(self, ref_or_id, **kwargs):
490 url = "/%s/views/entry_point/%s" % (
491 self.resource.get_url_path_name(),
492 ref_or_id,
493 )
494
495 response = self.client.get(url, **kwargs)
496 if response.status_code != http_client.OK:
497 self.handle_error(response)
498
499 return response.text
500
501
502class ExecutionResourceManager(ResourceManager):

Callers 1

__init__Method · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected