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

Method get_by_id

st2common/st2common/models/db/__init__.py:516–517  ·  view source on GitHub ↗
(self, value)

Source from the content-addressed store, hash-verified

514 return self.get(name=value, raise_exception=True)
515
516 def get_by_id(self, value):
517 return self.get(id=value, raise_exception=True)
518
519 def get_by_uid(self, value):
520 return self.get(uid=value, raise_exception=True)

Callers

nothing calls this directly

Calls 1

getMethod · 0.95

Tested by

no test coverage detected