Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/StackStorm/st2
/ get_by_ref
Method
get_by_ref
st2common/st2common/models/db/__init__.py:522–523 ·
view source on GitHub ↗
(self, value)
Source
from the content-addressed store, hash-verified
520
return
self.get(uid=value, raise_exception=True)
521
522
def
get_by_ref(self, value):
523
return
self.get(ref=value, raise_exception=True)
524
525
def
get_by_pack(self, value):
526
return
self.get(pack=value, raise_exception=True)
Callers
1
validate
Method · 0.45
Calls
1
get
Method · 0.95
Tested by
no test coverage detected