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

Class TriggerInstanceResourceManager

st2client/st2client/models/core.py:622–632  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

620
621
622class TriggerInstanceResourceManager(ResourceManager):
623 @add_auth_token_to_kwargs_from_env
624 def re_emit(self, trigger_instance_id, **kwargs):
625 url = "/%s/%s/re_emit" % (
626 self.resource.get_url_path_name(),
627 trigger_instance_id,
628 )
629 response = self.client.post(url, None, **kwargs)
630 if response.status_code != http_client.OK:
631 self.handle_error(response)
632 return parse_api_response(response)
633
634
635class AsyncRequest(Resource):

Callers 1

__init__Method · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected