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

Method get_by_name

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

Source from the content-addressed store, hash-verified

511 self.model = model
512
513 def get_by_name(self, value):
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)

Callers

nothing calls this directly

Calls 1

getMethod · 0.95

Tested by

no test coverage detected