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

Method __str__

st2common/tests/unit/test_db_base.py:34–40  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

32 parameters = mongoengine.DictField()
33
34 def __str__(self):
35 result = []
36 result.append("ActionExecutionSpecDB@")
37 result.append("test")
38 result.append('(ref="%s", ' % self.ref)
39 result.append('parameters="%s")' % self.parameters)
40 return "".join(result)
41
42
43class FakeModel(stormbase.StormBaseDB):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected