Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/StackStorm/st2
/ json
Method
json
st2tests/st2tests/http.py:26–27 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
24
self.reason = reason
25
26
def
json(self):
27
return
json.loads(self.text)
28
29
def
raise_for_status(self):
30
raise
Exception(self.reason)
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected