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

Method __init__

st2client/st2client/models/core.py:742–750  ·  view source on GitHub ↗
(self, endpoint, cacert=None, debug=False, basic_auth=None)

Source from the content-addressed store, hash-verified

740
741class StreamManager(ResourceManager):
742 def __init__(self, endpoint, cacert=None, debug=False, basic_auth=None):
743 super(StreamManager, self).__init__(
744 resource=None,
745 endpoint=endpoint,
746 cacert=cacert,
747 debug=debug,
748 basic_auth=basic_auth,
749 )
750 self._url = httpclient.get_url_without_trailing_slash(endpoint) + "/stream"
751
752 @add_auth_token_to_kwargs_from_env
753 def listen(self, events=None, **kwargs):

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected